diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-20 06:46:47 (GMT) |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2012-11-21 11:01:16 (GMT) |
commit | 0b672e9b21942fdfa63519fb66df4a40d6fafe35 (patch) | |
tree | ed710976a10f890883e1ae2f4d3ed6afdf55f4a9 /mm/nobootmem.c | |
parent | 2ca36f4afd0b0c3b9f99e1c03bbfafeb39516cf6 (diff) | |
download | linux-0b672e9b21942fdfa63519fb66df4a40d6fafe35.tar.xz |
extcon: max8997: Use devm_kzalloc
devm_kzalloc() is a device managed function. It makes error handling
and cleanup code a bit simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions