Huang, Tao
ce1181f629
Revert "Revert "switch: switch class and GPIO drivers.""
...
This reverts commit c631c9800f .
We keep switch driver until HDMI work.
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2016-07-05 18:58:11 +08:00
Dmitry Shmidt
c631c9800f
Revert "switch: switch class and GPIO drivers."
...
Drivers should use extcon moving forward.
Documentation/extcon/porting-android-switch-class describes
how to port existing switch class drivers to extcon.
This reverts commit e4b8e66e0a .
Change-Id: I5b622c7ab4c0cb9670f8903f259a99888f503c1a
2016-05-19 12:32:41 +05:30
Mike Lockwood
e4b8e66e0a
switch: switch class and GPIO drivers.
...
switch: Export symbol switch_set_state.
Signed-off-by: Mike Lockwood <lockwood@android.com >
switch: gpio: Don't call request_irq with interrupts disabled
Signed-off-by: Arve Hjønnevåg <arve@android.com >
switch: Use device_create instead of device_create_drvdata.
device_create_drvdata is obsolete.
Signed-off-by: Arve Hjønnevåg <arve@android.com >
switch_gpio: Add missing #include <linux/interrupt.h>
Change-Id: I6c397e41bbe1457162cc69e31a29db5d9f76fccb
Signed-off-by: Mike Lockwood <lockwood@android.com >
2016-02-16 13:50:54 -08:00