switch: switch class and GPIO drivers.
authorMike Lockwood <lockwood@android.com>
Tue, 14 Oct 2008 16:50:16 +0000 (12:50 -0400)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:50:54 +0000 (13:50 -0800)
commite4b8e66e0ae2e78e913d7b86f2507fdb0aa731b4
tree3098c24747ec79ae885d1048e0f327a438238342
parentfdaa05e593dcf385b2fe2db0b7d0cf7785a63837
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>
drivers/Kconfig
drivers/Makefile
drivers/switch/Kconfig [new file with mode: 0644]
drivers/switch/Makefile [new file with mode: 0644]
drivers/switch/switch_class.c [new file with mode: 0644]
drivers/switch/switch_gpio.c [new file with mode: 0644]
include/linux/switch.h [new file with mode: 0644]