summaryrefslogtreecommitdiff
path: root/drivers/switch
AgeCommit message (Collapse)Author
2012-02-13drivers: switch: fix unregister of switch deviceManoj Gangwal
Driver data has to be set before destroying the device. Issue has been found in Secure OS. Bug 931758 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/78688 (cherry picked from commit 1a79ae32474868a1ae457f01d0f9e10f4c21f59c) Change-Id: Iccc6adff5f79898e09d410c8898788597ac4859d Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82710 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
2011-11-30switch: switch class and GPIO drivers.Mike Lockwood
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>