switch: switch class and GPIO drivers.
authorMike Lockwood <lockwood@android.com>
Tue, 14 Oct 2008 16:50:16 +0000 (12:50 -0400)
committerColin Cross <ccross@android.com>
Tue, 14 Feb 2012 19:25:57 +0000 (11:25 -0800)
commita147b2b5898c0df6db9cfa44c1e91a3e53463d39
tree8a7f776a98a7c14488494086ca225ccda0742db7
parentb2d895d9c53648b2dac6d3b697f0a8ec9e0d7983
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]