.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * iNexio serial touchscreen driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2008 Richard Lemon |
---|
5 | 6 | * Based on the mtouch driver (c) Vojtech Pavlik and Dan Streetman |
---|
6 | | - * |
---|
7 | 7 | */ |
---|
8 | 8 | |
---|
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 | | - */ |
---|
14 | 9 | |
---|
15 | 10 | /* |
---|
16 | 11 | * 2008/06/19 Richard Lemon <richard@codelemon.com> |
---|
.. | .. |
---|
79 | 74 | static irqreturn_t inexio_interrupt(struct serio *serio, |
---|
80 | 75 | unsigned char data, unsigned int flags) |
---|
81 | 76 | { |
---|
82 | | - struct inexio* pinexio = serio_get_drvdata(serio); |
---|
| 77 | + struct inexio *pinexio = serio_get_drvdata(serio); |
---|
83 | 78 | |
---|
84 | 79 | pinexio->data[pinexio->idx] = data; |
---|
85 | 80 | |
---|
.. | .. |
---|
97 | 92 | |
---|
98 | 93 | static void inexio_disconnect(struct serio *serio) |
---|
99 | 94 | { |
---|
100 | | - struct inexio* pinexio = serio_get_drvdata(serio); |
---|
| 95 | + struct inexio *pinexio = serio_get_drvdata(serio); |
---|
101 | 96 | |
---|
102 | 97 | input_get_device(pinexio->dev); |
---|
103 | 98 | input_unregister_device(pinexio->dev); |
---|