hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/input/touchscreen/inexio.c
....@@ -1,16 +1,11 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * iNexio serial touchscreen driver
34 *
45 * Copyright (c) 2008 Richard Lemon
56 * Based on the mtouch driver (c) Vojtech Pavlik and Dan Streetman
6
- *
77 */
88
9
-/*
10
- * This program is free software; you can redistribute it and/or modify it
11
- * under the terms of the GNU General Public License version 2 as published by
12
- * the Free Software Foundation.
13
- */
149
1510 /*
1611 * 2008/06/19 Richard Lemon <richard@codelemon.com>
....@@ -79,7 +74,7 @@
7974 static irqreturn_t inexio_interrupt(struct serio *serio,
8075 unsigned char data, unsigned int flags)
8176 {
82
- struct inexio* pinexio = serio_get_drvdata(serio);
77
+ struct inexio *pinexio = serio_get_drvdata(serio);
8378
8479 pinexio->data[pinexio->idx] = data;
8580
....@@ -97,7 +92,7 @@
9792
9893 static void inexio_disconnect(struct serio *serio)
9994 {
100
- struct inexio* pinexio = serio_get_drvdata(serio);
95
+ struct inexio *pinexio = serio_get_drvdata(serio);
10196
10297 input_get_device(pinexio->dev);
10398 input_unregister_device(pinexio->dev);