]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: s3c2410: Use devm_* functions
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 21 Aug 2012 08:54:09 +0000 (14:24 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:07:21 +0000 (15:07 +0100)
commit6f32a3e2853da194bd541fa107645d71c4eaaef9
tree89adaf224c566a6c36895972b628afb2f8984406
parentc83d29f008fbf093b192985b424e19cb16d4b75c
mtd: s3c2410: Use devm_* functions

devm_* functions are device managed functions and make cleanup code
simpler and smaller.
devm_kzalloc, devm_clk_get and devm_request_and_ioremap functions
are used.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/s3c2410.c