linux/drivers/extcon
Chanwoo Choi f73f6232af extcon: max8997: Consolidate duplicate code for checking ADC/CHG cable type
This patch make max8997_muic_get_cable_type() function to remove
duplicate code for checking ADC/Charger cable type because almost
internal function need to read adc/chg_type value of MUIC register.

Also, remove *_detach() function, extcon-max8997 driver treat
attach/detach operation of cable in max8997_*_handler() function.
Lastly, this patch move defined constant in header file(include/
linux/mfd/max8997.h, max8997-private.h) because defined constant
is only used in the 'extcon-max8997.c'.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
2013-02-14 07:54:22 +09:00
..
extcon-adc-jack.c extcon: remove use of __devexit_p 2012-11-26 15:57:24 -08:00
extcon-arizona.c extcon: arizona: Use MICDET for final microphone identification 2013-02-11 16:06:25 +00:00
extcon-class.c extcon: Fix return value in extcon-class.c 2012-11-21 20:00:39 +09:00
extcon-gpio.c extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style 2013-02-13 08:35:43 -08:00
extcon-max8997.c extcon: max8997: Consolidate duplicate code for checking ADC/CHG cable type 2013-02-14 07:54:22 +09:00
extcon-max77693.c extcon: max77693: Make max77693_extcon_cable static 2013-02-14 07:52:49 +09:00
Kconfig extcon: arizona: Updates for v3.9 2013-02-11 13:44:43 -08:00
Makefile extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices 2012-09-05 12:20:49 -07:00