aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/e3x0-button.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-02-23 11:39:40 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-23 11:39:40 -0500
commitd5dee39b27201f9f5460eca55efcc91a663b738c (patch)
treeba1b026b0b20439f962ee4621e33adcab1c7fc3a /drivers/input/misc/e3x0-button.c
parent4cc4b9323f43458c9277e082f90316570431881e (diff)
parent6e11617fcff3688f70650a3e40addb0043dda137 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input updates from Dmitry: - a new driver for Zeitech touchscreen controller - a new driver for Samsung "touchkeys" - touchscreen driver for Moorestown platform has been removed because platform support is gone - MPU3050 accelerometer driver was removed in favor of IIO driver - miscellaneous driver cleanup and fixes * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (88 commits) Input: zet6223 - export OF device ID as module aliases Input: tsc2004/5 - switch to using generic device properties Input: tsc2004/5 - fix regulator handling Input: tsc2005 - add OF device table Input: add driver for Zeitec ZET6223 Input: joydev - do not report stale values on first open Input: synaptics-rmi4 - forward upper mechanical buttons to PS/2 guest Input: synaptics-rmi4 - clean up F30 implementation Input: synaptics - use SERIO_OOB_DATA to handle trackstick buttons Input: psmouse - add a custom serio protocol to send extra information Input: synaptics-rmi4 - fix error return code in rmi_probe_interrupts() Input: xpad - restore LED state after device resume Input: synaptics-rmi4 - add rmi_find_function() Input: xpad - fix stuck mode button on Xbox One S pad Input: joydev - use clamp() macro Input: refuse to register absolute devices without absinfo Input: synaptics-rmi4 - add sysfs interfaces for hardware IDs Input: synaptics-rmi4 - add sysfs attribute update_fw_status Input: mousedev - stop offering PS/2 to userspace by default Input: tca8418 - switch to using generic device properties ...
Diffstat (limited to 'drivers/input/misc/e3x0-button.c')
-rw-r--r--drivers/input/misc/e3x0-button.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/input/misc/e3x0-button.c b/drivers/input/misc/e3x0-button.c
index 13bfca8a7b16..e956cf1d273f 100644
--- a/drivers/input/misc/e3x0-button.c
+++ b/drivers/input/misc/e3x0-button.c
@@ -120,17 +120,10 @@ static int e3x0_button_probe(struct platform_device *pdev)
120 return error; 120 return error;
121 } 121 }
122 122
123 platform_set_drvdata(pdev, input);
124 device_init_wakeup(&pdev->dev, 1); 123 device_init_wakeup(&pdev->dev, 1);
125 return 0; 124 return 0;
126} 125}
127 126
128static int e3x0_button_remove(struct platform_device *pdev)
129{
130 device_init_wakeup(&pdev->dev, 0);
131 return 0;
132}
133
134#ifdef CONFIG_OF 127#ifdef CONFIG_OF
135static const struct of_device_id e3x0_button_match[] = { 128static const struct of_device_id e3x0_button_match[] = {
136 { .compatible = "ettus,e3x0-button", }, 129 { .compatible = "ettus,e3x0-button", },
@@ -146,7 +139,6 @@ static struct platform_driver e3x0_button_driver = {
146 .pm = &e3x0_button_pm_ops, 139 .pm = &e3x0_button_pm_ops,
147 }, 140 },
148 .probe = e3x0_button_probe, 141 .probe = e3x0_button_probe,
149 .remove = e3x0_button_remove,
150}; 142};
151 143
152module_platform_driver(e3x0_button_driver); 144module_platform_driver(e3x0_button_driver);