commit | 0b672e9b21942fdfa63519fb66df4a40d6fafe35 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Tue Nov 20 15:46:47 2012 +0900 |
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | Wed Nov 21 20:01:16 2012 +0900 |
tree | ed710976a10f890883e1ae2f4d3ed6afdf55f4a9 | |
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>