hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/input/touchscreen/mtouch.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * MicroTouch (3M) serial touchscreen driver
34 *
45 * Copyright (c) 2004 Vojtech Pavlik
56 */
67
7
-/*
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License version 2 as published by
10
- * the Free Software Foundation.
11
- */
128
139 /*
1410 * 2005/02/19 Dan Streetman <ddstreet@ieee.org>
....@@ -90,7 +86,7 @@
9086 static irqreturn_t mtouch_interrupt(struct serio *serio,
9187 unsigned char data, unsigned int flags)
9288 {
93
- struct mtouch* mtouch = serio_get_drvdata(serio);
89
+ struct mtouch *mtouch = serio_get_drvdata(serio);
9490
9591 mtouch->data[mtouch->idx] = data;
9692
....@@ -110,7 +106,7 @@
110106
111107 static void mtouch_disconnect(struct serio *serio)
112108 {
113
- struct mtouch* mtouch = serio_get_drvdata(serio);
109
+ struct mtouch *mtouch = serio_get_drvdata(serio);
114110
115111 input_get_device(mtouch->dev);
116112 input_unregister_device(mtouch->dev);