hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/input/sparse-keymap.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Generic support for sparse keymaps
34 *
....@@ -7,10 +8,6 @@
78 * Copyright (C) 2005 Miloslav Trmac <mitr@volny.cz>
89 * Copyright (C) 2005 Bernhard Rosenkraenzer <bero@arklinux.org>
910 * Copyright (C) 2005 Dmitry Torokhov <dtor@mail.ru>
10
- *
11
- * This program is free software; you can redistribute it and/or modify it
12
- * under the terms of the GNU General Public License version 2 as published by
13
- * the Free Software Foundation.
1411 */
1512
1613 #include <linux/input.h>
....@@ -250,7 +247,7 @@
250247
251248 case KE_SW:
252249 value = ke->sw.value;
253
- /* fall through */
250
+ fallthrough;
254251
255252 case KE_VSW:
256253 input_report_switch(dev, ke->sw.code, value);