| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Elo 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 | * This driver can handle serial Elo touchscreens using either the Elo standard |
|---|
| .. | .. |
|---|
| 354 | 350 | |
|---|
| 355 | 351 | case 1: /* 6-byte protocol */ |
|---|
| 356 | 352 | input_set_abs_params(input_dev, ABS_PRESSURE, 0, 15, 0, 0); |
|---|
| 357 | | - /* fall through */ |
|---|
| 353 | + fallthrough; |
|---|
| 358 | 354 | |
|---|
| 359 | 355 | case 2: /* 4-byte protocol */ |
|---|
| 360 | 356 | input_set_abs_params(input_dev, ABS_X, 96, 4000, 0, 0); |
|---|