aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/xilinx_ps2.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/serio/xilinx_ps2.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/serio/xilinx_ps2.c')
-rw-r--r--drivers/input/serio/xilinx_ps2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c
index 1e983bec7d86..17be85948ffd 100644
--- a/drivers/input/serio/xilinx_ps2.c
+++ b/drivers/input/serio/xilinx_ps2.c
@@ -233,7 +233,7 @@ static void sxps2_close(struct serio *pserio)
233 * It returns 0, if the driver is bound to the PS/2 device, or a negative 233 * It returns 0, if the driver is bound to the PS/2 device, or a negative
234 * value if there is an error. 234 * value if there is an error.
235 */ 235 */
236static int __devinit xps2_of_probe(struct platform_device *ofdev) 236static int xps2_of_probe(struct platform_device *ofdev)
237{ 237{
238 struct resource r_irq; /* Interrupt resources */ 238 struct resource r_irq; /* Interrupt resources */
239 struct resource r_mem; /* IO mem resources */ 239 struct resource r_mem; /* IO mem resources */
@@ -333,7 +333,7 @@ failed1:
333 * if the driver module is being unloaded. It frees any resources allocated to 333 * if the driver module is being unloaded. It frees any resources allocated to
334 * the device. 334 * the device.
335 */ 335 */
336static int __devexit xps2_of_remove(struct platform_device *of_dev) 336static int xps2_of_remove(struct platform_device *of_dev)
337{ 337{
338 struct xps2data *drvdata = platform_get_drvdata(of_dev); 338 struct xps2data *drvdata = platform_get_drvdata(of_dev);
339 struct resource r_mem; /* IO mem resources */ 339 struct resource r_mem; /* IO mem resources */
@@ -355,7 +355,7 @@ static int __devexit xps2_of_remove(struct platform_device *of_dev)
355} 355}
356 356
357/* Match table for of_platform binding */ 357/* Match table for of_platform binding */
358static const struct of_device_id xps2_of_match[] __devinitconst = { 358static const struct of_device_id xps2_of_match[] = {
359 { .compatible = "xlnx,xps-ps2-1.00.a", }, 359 { .compatible = "xlnx,xps-ps2-1.00.a", },
360 { /* end of list */ }, 360 { /* end of list */ },
361}; 361};
@@ -368,7 +368,7 @@ static struct platform_driver xps2_of_driver = {
368 .of_match_table = xps2_of_match, 368 .of_match_table = xps2_of_match,
369 }, 369 },
370 .probe = xps2_of_probe, 370 .probe = xps2_of_probe,
371 .remove = __devexit_p(xps2_of_remove), 371 .remove = xps2_of_remove,
372}; 372};
373module_platform_driver(xps2_of_driver); 373module_platform_driver(xps2_of_driver);
374 374