]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: s3c2410: Use devm_* functions
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 21 Aug 2012 08:54:09 +0000 (14:24 +0530)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 25 Aug 2012 11:50:14 +0000 (14:50 +0300)
commitea5bb4f387d41a97c45276fc1aa70e0cb14807f6
tree6dd45721bbb2a1a77d7043b52971d0c53c48032b
parent722cb92a70e9e7901472136d9a16f27efe051bc3
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>
drivers/mtd/nand/s3c2410.c