aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/zylonite-wm97xx.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2019-10-18 13:48:34 -0700
committerArnd Bergmann <arnd@arndb.de>2022-05-07 22:55:48 +0200
commite1d8f31218aab302df9e18526345af189fd061f0 (patch)
tree8f6c73de10705a3e46bb4fc6aead6e84ce0966bc /drivers/input/touchscreen/zylonite-wm97xx.c
parentInput: wm97xx - switch to using threaded IRQ (diff)
downloadlinux-dev-e1d8f31218aab302df9e18526345af189fd061f0.tar.xz
linux-dev-e1d8f31218aab302df9e18526345af189fd061f0.zip
Input: wm97xx - get rid of irq_enable method in wm97xx_mach_ops
Now that we are using oneshot threaded IRQ this method is not used anymore. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> [arnd: add the db1300 change as well] Cc: Manuel Lauss <manuel.lauss@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r--drivers/input/touchscreen/zylonite-wm97xx.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/input/touchscreen/zylonite-wm97xx.c b/drivers/input/touchscreen/zylonite-wm97xx.c
index ed7eae638713..a70fe4abe520 100644
--- a/drivers/input/touchscreen/zylonite-wm97xx.c
+++ b/drivers/input/touchscreen/zylonite-wm97xx.c
@@ -160,20 +160,11 @@ static int wm97xx_acc_startup(struct wm97xx *wm)
return 0;
}
-static void wm97xx_irq_enable(struct wm97xx *wm, int enable)
-{
- if (enable)
- enable_irq(wm->pen_irq);
- else
- disable_irq_nosync(wm->pen_irq);
-}
-
static struct wm97xx_mach_ops zylonite_mach_ops = {
.acc_enabled = 1,
.acc_pen_up = wm97xx_acc_pen_up,
.acc_pen_down = wm97xx_acc_pen_down,
.acc_startup = wm97xx_acc_startup,
- .irq_enable = wm97xx_irq_enable,
.irq_gpio = WM97XX_GPIO_2,
};