kernel_optimize_test/drivers/extcon
Hans de Goede 3fe1e0e2ab extcon: axp288: Simplify axp288_handle_chrg_det_event
axp288_handle_chrg_det_event only gets called on change interrupts
(so not that often), extcon_set_state_sync() checks itself if there are
any actual changes before notifying listeners, and gpiod_set_value is
not really expensive either.

So we can simply always do both on each interrupt removing a bunch of
somewhat magic looking code from axp288_handle_chrg_det_event.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2017-01-09 10:04:10 +09:00
..
devres.c extcon: Add resource-managed functions to register extcon notifier 2016-06-27 21:03:23 +09:00
extcon-adc-jack.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-arizona.c extcon: arizona: Simplify micd_pol_gpio handling 2017-01-09 10:04:09 +09:00
extcon-axp288.c extcon: axp288: Simplify axp288_handle_chrg_det_event 2017-01-09 10:04:10 +09:00
extcon-gpio.c Merge branch 'next' into resolution 2016-09-15 16:45:20 +05:30
extcon-max3355.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-max8997.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-max14577.c extcon: Restructure multi-line comments to follow codingstyle 2017-01-09 10:04:09 +09:00
extcon-max77693.c extcon: Restructure multi-line comments to follow codingstyle 2017-01-09 10:04:09 +09:00
extcon-max77843.c extcon: Restructure multi-line comments to follow codingstyle 2017-01-09 10:04:09 +09:00
extcon-palmas.c extcon: palmas: Check the parent instance to prevent the NULL 2017-01-09 10:04:09 +09:00
extcon-qcom-spmi-misc.c extcon: qcom-spmi-misc: Sync the extcon state on interrupt 2016-10-26 16:04:29 +09:00
extcon-rt8973a.c extcon: Restructure multi-line comments to follow codingstyle 2017-01-09 10:04:09 +09:00
extcon-rt8973a.h
extcon-sm5502.c extcon: Restructure multi-line comments to follow codingstyle 2017-01-09 10:04:09 +09:00
extcon-sm5502.h
extcon-usb-gpio.c extcon: usb-gpio: Add VBUS detection support 2016-11-20 21:22:39 +09:00
extcon.c extcon: Return error code on failure 2017-01-09 10:04:09 +09:00
Kconfig extcon: Add support for qcom SPMI PMIC USB id detection hardware 2016-09-13 11:26:26 +09:00
Makefile extcon: Add support for qcom SPMI PMIC USB id detection hardware 2016-09-13 11:26:26 +09:00