]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: max8997: Use devm_extcon_dev_allocate for extcon_dev
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 21 Apr 2014 11:37:51 +0000 (20:37 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 29 Apr 2014 00:46:28 +0000 (09:46 +0900)
commit9d816367e0da2ffb5a61e1b12629f5796589fa2f
tree78b688c97d20fda37d38d6149e84a9e628432bf7
parenta6152cbb6fe0d4012c0138d73f4e9b04cd0404fa
extcon: max8997: Use devm_extcon_dev_allocate for extcon_dev

This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/extcon/extcon-max8997.c