mtd: lpc32xx_slc: Use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Thu, 26 Dec 2013 01:44:30 +0000 (10:44 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:28 +0000 (11:22 -0800)
commit133432a7e2b848ada53910df16c420d297e5c65a
tree9ca7ac0a0e1af6c6c1c131aca9384332b1d8cad5
parent2281f7b63ed0a7e230a34303c0e9e8f0264fda6c
mtd: lpc32xx_slc: Use devm_*() functions

Use devm_*() functions to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/lpc32xx_slc.c