]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: gpio: Use devm_extcon_dev_allocate for extcon_dev
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 21 Apr 2014 11:51:08 +0000 (20:51 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 29 Apr 2014 00:51:48 +0000 (09:51 +0900)
commite14018ca41a0698679ae250bae32e6382cc343ef
tree3bffec88592d0f9fa9a8f66b24f97d931741db80
parent2c13628f1385a5da2d040708600101fd8a1e5c31
extcon: gpio: 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: Felipe Balbi <balbi@ti.com>
drivers/extcon/extcon-gpio.c