mtd: sst25l: Use devm_kzalloc
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 8 Oct 2013 09:21:34 +0000 (14:51 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:48 +0000 (23:32 -0800)
commitb38be288140c3d5317bf55439cd3d6fd6395a98e
tree6a469057e63610fdac70050b790054a952c88178
parentfcfd9f2dd786a79400e1e799713ff71e939b40b5
mtd: sst25l: Use devm_kzalloc

devm_kzalloc is device managed and makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/sst25l.c