diff options
author | Jingoo Han <[email protected]> | 2013-12-26 10:42:34 +0900 |
---|---|---|
committer | Brian Norris <[email protected]> | 2014-01-03 11:22:27 -0800 |
commit | 436bf63ba5792f2f7bb5e1a4e8d38df8f1a44edc (patch) | |
tree | 011f172c34cbf6b7540ec1fdff191787667a96e2 /lib/mpi/mpi-internal.h | |
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 <[email protected]>
Acked-by: John Crispin <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions