linux/drivers/extcon
Tomasz Figa f841afb174 extcon: Implement OF-based extcon lookup properly
Platform bus is not the only way to have extcon devices, so current
implementation of of_extcon_get_extcon_dev() is broken. Also using
parent device node only to get device name is quite ugly.

This patch reimplements of_extcon_get_extcon_dev() to do exactly the
same as extcon_get_extcon_dev() but instead of comparing names, compare
node pointers.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
[mszyprow: simplified the code]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2014-11-24 20:51:15 +09:00
..
extcon-adc-jack.c extcon: Set parent device of extcon device using prameter of devm_extcon_dev_allocate 2014-06-16 13:33:19 +09:00
extcon-arizona.c extcon: arizona: Get MICVDD against extcon device 2014-07-23 10:07:42 +09:00
extcon-class.c extcon: Implement OF-based extcon lookup properly 2014-11-24 20:51:15 +09:00
extcon-gpio.c extcon: gpio: Fix code cleanup 2014-09-22 16:48:47 +09:00
extcon-max8997.c extcon: Remove unnecessary OOM messages 2014-07-23 10:07:09 +09:00
extcon-max14577.c extcon: Remove unnecessary OOM messages 2014-07-23 10:07:09 +09:00
extcon-max77693.c extcon: max77693: Fix a bug occured at changing ADC debounce time. 2014-09-22 16:14:58 +09:00
extcon-palmas.c extcon: Set parent device of extcon device using prameter of devm_extcon_dev_allocate 2014-06-16 13:33:19 +09:00
extcon-rt8973a.c extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
extcon-rt8973a.h extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
extcon-sm5502.c extcon: sm5502: Drop useless include 2014-09-22 16:00:23 +09:00
extcon-sm5502.h extcon: sm5502: Move sm5502.h header file to extcon directory 2014-09-22 11:43:08 +09:00
Kconfig extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
Makefile extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00