diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-20 15:46:47 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2012-11-21 20:01:16 +0900 |
commit | 0b672e9b21942fdfa63519fb66df4a40d6fafe35 (patch) | |
tree | ed710976a10f890883e1ae2f4d3ed6afdf55f4a9 /drivers/tty | |
parent | 2ca36f4afd0b0c3b9f99e1c03bbfafeb39516cf6 (diff) |
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 'drivers/tty')
0 files changed, 0 insertions, 0 deletions