summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max8997.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2019-12-09 11:09:16 +0000
committerChanwoo Choi <cw00.choi@samsung.com>2019-12-09 20:18:15 +0900
commit4b28b25c3062002eebdef1a4e6bab2f8293308f1 (patch)
tree59c4ed9aec5e6f0bd9a4b83cde98e02e5e9a7f6b /drivers/extcon/extcon-max8997.c
parent7e14fc437c8144d1d5587d7b3a8d33e732144227 (diff)
downloadlinux-4b28b25c3062002eebdef1a4e6bab2f8293308f1.tar.bz2
extcon: arizona: Factor out microphone and button detection
Continue refactoring the microphone detect handling by factoring out the handling for microphone detection and button detection into separate functions. This both makes the code a little clearer and prepares for some planned future refactoring to make the state handling in the driver more explicit. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-max8997.c')
0 files changed, 0 insertions, 0 deletions