18 Sep, 2013
1 commit
-
Driver core sets the data to NULL upon release or probe
failure. Hence explicit setting is not necessary.Signed-off-by: Sachin Kamat
Signed-off-by: Dmitry Torokhov
24 Nov, 2012
3 commits
-
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.Signed-off-by: Bill Pemberton
Acked-by: Mark Brown
Signed-off-by: Dmitry Torokhov -
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.Signed-off-by: Bill Pemberton
Acked-by: Mark Brown
Acked-by: Javier Martinez Canillas
Signed-off-by: Dmitry Torokhov -
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.Signed-off-by: Bill Pemberton
Acked-by: Russell King
Signed-off-by: Dmitry Torokhov
01 Dec, 2011
1 commit
-
Commit 940ab88962bc1aff3273a8356d64577a6e386736 introduced a new macro to
save some platform_driver boilerplate code. Use it.Signed-off-by: JJ Ding
Signed-off-by: Dmitry Torokhov
10 Mar, 2009
1 commit
-
Mikrotik's Routerboard 532 has two builtin buttons, from which one
triggers a hardware reset. The other one is accessible through GPIO
pin 1. Sadly, this pin is being multiplexed with UART0 input, so
enabling it as interrupt source (as implied by the gpio-keys driver)
is not possible unless UART0 has been turned off. The later one though
is a rather bad idea as the Routerboard is an embedded device with
only a single serial port, so it's almost always used as serial
console device.This patch adds a driver based on INPUT_POLLDEV, which disables the
UART and reconfigures GPIO pin 1 temporarily while reading the button
state. This procedure works fine and has been tested as part of
another, unpublished driver for this device.Signed-off-by: Phil Sutter
Signed-off-by: Dmitry Torokhov