]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: Simplify extcon_dev_register() prototype by removing unnecessary parameter
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:20:26 +0000 (09:20 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:37:01 +0000 (09:37 +0900)
commit77730427cee4fe7ef0cc9d07b38a4bb7e43dbe79
treea62b2043514378cabaf629b865612e5019ff29e4
parent6763dcfeca84ef071cf68fcabdea621e87a8cd67
extcon: Simplify extcon_dev_register() prototype by removing unnecessary parameter

This patch remove extcon_dev_register()'s second parameter which means
the pointer of parent device to simplify prototype of this function.
So, if extcon device has the parent device, it should set the pointer of
parent device to edev.dev.parent in extcon device driver instead of in
extcon_dev_register().

Cc: Graeme Gregory <gg@slimlogic.co.uk>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Documentation/extcon/porting-android-switch-class
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
include/linux/extcon.h