]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
extcon: arizona: Use devm_extcon_dev_allocate for extcon_dev
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 21 Apr 2014 11:47:31 +0000 (20:47 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 29 Apr 2014 00:50:55 +0000 (09:50 +0900)
commitef70a214b558184867e5943cf943a03293250ea7
treec8f5db04e2ba5775be2076beabfce7c03eacc9eb
parent0604002cde72cd60a11013daf2d9f456d4895ce8
extcon: arizona: Use devm_extcon_dev_allocate for extcon_dev

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

Cc: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: patches@opensource.wolfsonmicro.com
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/extcon/extcon-arizona.c