]> asedeno.scripts.mit.edu Git - linux.git/commit
extcon: Set parent device of extcon device using prameter of devm_extcon_dev_allocate
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 30 May 2014 01:13:15 +0000 (10:13 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Jun 2014 04:33:19 +0000 (13:33 +0900)
commitac65a625a0961e7a96f2e5e182073691d0474c04
tree5eb4f46f622366621a0d965569add88a830a6a97
parent24a279b1cae0af0eb4bf0dd8b3ef85956a96ff7a
extcon: Set parent device of extcon device using prameter of devm_extcon_dev_allocate

This patch set the parent device of extcon device using first parameter of
devm_extco_dev_allocate() to remove duplicate code on all of extcon provider
drivers.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Reported-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tested-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Graeme Gregory <gg@slimlogic.co.uk>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
drivers/extcon/extcon-adc-jack.c
drivers/extcon/extcon-arizona.c
drivers/extcon/extcon-class.c
drivers/extcon/extcon-gpio.c
drivers/extcon/extcon-max77693.c
drivers/extcon/extcon-max8997.c
drivers/extcon/extcon-palmas.c