OSDN Git Service

switch: switch class and GPIO drivers.
authorMike Lockwood <lockwood@android.com>
Tue, 14 Oct 2008 16:50:16 +0000 (12:50 -0400)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 13 Apr 2015 16:42:53 +0000 (00:42 +0800)
commit6f783d8c5030f56edc58402e6026dcf27d43ca9e
treedaa4858caeb306965a4bbe70cd053d9229531ef6
parentbd35a9feaadf2ac44c28bb55a5c960c458b978a3
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]