.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * MicroTouch (3M) serial touchscreen driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2004 Vojtech Pavlik |
---|
5 | 6 | */ |
---|
6 | 7 | |
---|
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 | | - */ |
---|
12 | 8 | |
---|
13 | 9 | /* |
---|
14 | 10 | * 2005/02/19 Dan Streetman <ddstreet@ieee.org> |
---|
.. | .. |
---|
90 | 86 | static irqreturn_t mtouch_interrupt(struct serio *serio, |
---|
91 | 87 | unsigned char data, unsigned int flags) |
---|
92 | 88 | { |
---|
93 | | - struct mtouch* mtouch = serio_get_drvdata(serio); |
---|
| 89 | + struct mtouch *mtouch = serio_get_drvdata(serio); |
---|
94 | 90 | |
---|
95 | 91 | mtouch->data[mtouch->idx] = data; |
---|
96 | 92 | |
---|
.. | .. |
---|
110 | 106 | |
---|
111 | 107 | static void mtouch_disconnect(struct serio *serio) |
---|
112 | 108 | { |
---|
113 | | - struct mtouch* mtouch = serio_get_drvdata(serio); |
---|
| 109 | + struct mtouch *mtouch = serio_get_drvdata(serio); |
---|
114 | 110 | |
---|
115 | 111 | input_get_device(mtouch->dev); |
---|
116 | 112 | input_unregister_device(mtouch->dev); |
---|