aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/rb532_button.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 15:46:37 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 15:46:37 -0500
commit31564cbd77baa88405862d4aa0d00893ab1d8cb7 (patch)
tree2eaec947ab64ccfa2d94ca29bf14feb70b8a4b61 /drivers/input/misc/rb532_button.c
parent6842d98de7bb726dfddc719cb9ae022b26a0f2b8 (diff)
parent022573c275500e1a50889949f679d04b5446edf6 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull second round of input updates from Dmitry Torokhov: "As usual, there are a couple of new drivers, input core now supports managed input devices (devres), a slew of drivers now have device tree support and a bunch of fixes and cleanups." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (71 commits) Input: walkera0701 - fix crash on startup Input: matrix-keymap - provide a proper module license Input: gpio_keys_polled - switch to using gpio_request_one() Input: gpio_keys - switch to using gpio_request_one() Input: wacom - fix touch support for Bamboo Fun CTH-461 Input: xpad - add a few new VID/PID combinations Input: xpad - minor formatting fixes Input: gpio-keys-polled - honor 'autorepeat' setting in platform data Input: tca8418-keypad - switch to using managed resources Input: tca8418_keypad - increase severity of failures in probe() Input: tca8418_keypad - move device ID tables closer to where they are used Input: tca8418_keypad - use dev_get_platdata() to retrieve platform data Input: tca8418_keypad - use a temporary variable for parent device Input: tca8418_keypad - add support for shared interrupt Input: tca8418_keypad - add support for device tree bindings Input: remove Compaq iPAQ H3600 (Bitsy) touchscreen driver Input: bu21013_ts - add support for Device Tree booting Input: bu21013_ts - move GPIO init and exit functions into the driver Input: bu21013_ts - request regulator that actually exists ARM: ux500: Strip out duplicate touch screen platform information ...
Diffstat (limited to 'drivers/input/misc/rb532_button.c')
-rw-r--r--drivers/input/misc/rb532_button.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/rb532_button.c b/drivers/input/misc/rb532_button.c
index aeb02bcf7233..fb4f8ac3343b 100644
--- a/drivers/input/misc/rb532_button.c
+++ b/drivers/input/misc/rb532_button.c
@@ -51,7 +51,7 @@ static void rb532_button_poll(struct input_polled_dev *poll_dev)
51 input_sync(poll_dev->input); 51 input_sync(poll_dev->input);
52} 52}
53 53
54static int __devinit rb532_button_probe(struct platform_device *pdev) 54static int rb532_button_probe(struct platform_device *pdev)
55{ 55{
56 struct input_polled_dev *poll_dev; 56 struct input_polled_dev *poll_dev;
57 int error; 57 int error;
@@ -81,7 +81,7 @@ static int __devinit rb532_button_probe(struct platform_device *pdev)
81 return 0; 81 return 0;
82} 82}
83 83
84static int __devexit rb532_button_remove(struct platform_device *pdev) 84static int rb532_button_remove(struct platform_device *pdev)
85{ 85{
86 struct input_polled_dev *poll_dev = dev_get_drvdata(&pdev->dev); 86 struct input_polled_dev *poll_dev = dev_get_drvdata(&pdev->dev);
87 87
@@ -94,7 +94,7 @@ static int __devexit rb532_button_remove(struct platform_device *pdev)
94 94
95static struct platform_driver rb532_button_driver = { 95static struct platform_driver rb532_button_driver = {
96 .probe = rb532_button_probe, 96 .probe = rb532_button_probe,
97 .remove = __devexit_p(rb532_button_remove), 97 .remove = rb532_button_remove,
98 .driver = { 98 .driver = {
99 .name = DRV_NAME, 99 .name = DRV_NAME,
100 .owner = THIS_MODULE, 100 .owner = THIS_MODULE,