commit | 436bf63ba5792f2f7bb5e1a4e8d38df8f1a44edc | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu Dec 26 10:42:34 2013 +0900 |
committer | Brian Norris <computersforpeace@gmail.com> | Fri Jan 03 11:22:27 2014 -0800 |
tree | 011f172c34cbf6b7540ec1fdff191787667a96e2 | |
parent | 82402aeb8c81edab9249b9e330b21e88723f539e [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>