summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/afs.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-26 10:42:34 +0900
committerBrian Norris <computersforpeace@gmail.com>2014-01-03 11:22:27 -0800
commit436bf63ba5792f2f7bb5e1a4e8d38df8f1a44edc (patch)
tree011f172c34cbf6b7540ec1fdff191787667a96e2 /drivers/mtd/afs.c
parent82402aeb8c81edab9249b9e330b21e88723f539e (diff)
mtd: lantiq-flash: Use devm_kzalloc()
Use devm_kzalloc() to make cleanup paths simpler. Also, checking return value of devm_kzalloc() is added in order to check if the allocation succeded. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: John Crispin <blogic@openwrt.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/afs.c')
0 files changed, 0 insertions, 0 deletions