extcon: adc-jack: Use devm_extcon_dev_allocate for extcon_dev
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 21 Apr 2014 11:49:30 +0000 (20:49 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 29 Apr 2014 00:51:22 +0000 (09:51 +0900)
commit1876fd9af59904078a73bdd4283c3924fd6cf18e
tree75ddeb167d9305462d137da048eba62f07302742
parentef70a214b558184867e5943cf943a03293250ea7
extcon: adc-jack: 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-adc-jack.c
This page took 0.025831 seconds and 5 git commands to generate.