| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Generic support for sparse keymaps |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * Copyright (C) 2005 Miloslav Trmac <mitr@volny.cz> |
|---|
| 8 | 9 | * Copyright (C) 2005 Bernhard Rosenkraenzer <bero@arklinux.org> |
|---|
| 9 | 10 | * 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. |
|---|
| 14 | 11 | */ |
|---|
| 15 | 12 | |
|---|
| 16 | 13 | #include <linux/input.h> |
|---|
| .. | .. |
|---|
| 250 | 247 | |
|---|
| 251 | 248 | case KE_SW: |
|---|
| 252 | 249 | value = ke->sw.value; |
|---|
| 253 | | - /* fall through */ |
|---|
| 250 | + fallthrough; |
|---|
| 254 | 251 | |
|---|
| 255 | 252 | case KE_VSW: |
|---|
| 256 | 253 | input_report_switch(dev, ke->sw.code, value); |
|---|