summaryrefslogtreecommitdiffstats
path: root/drivers/fmc/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-12-19 01:13:08 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2017-01-09 02:04:10 +0100
commit3fe1e0e2ab509863c1e9809a085508d8bce3e079 (patch)
tree9052aec883ac2d545a2fcf8c39127d718a75c494 /drivers/fmc/Kconfig
parentextcon: axp288: Remove usb_phy notification code (diff)
downloadlinux-3fe1e0e2ab509863c1e9809a085508d8bce3e079.tar.xz
linux-3fe1e0e2ab509863c1e9809a085508d8bce3e079.zip
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>
Diffstat (limited to 'drivers/fmc/Kconfig')
0 files changed, 0 insertions, 0 deletions