hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/input/misc/pwm-vibra.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * PWM vibrator driver
34 *
....@@ -8,11 +9,6 @@
89 *
910 * Based on PWM beeper driver:
1011 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
11
- *
12
- * This program is free software; you can redistribute it and/or modify it
13
- * under the terms of the GNU General Public License as published by the
14
- * Free Software Foundation; either version 2 of the License, or (at your
15
- * option) any later version.
1612 */
1713
1814 #include <linux/input.h>
....@@ -194,7 +190,7 @@
194190
195191 default:
196192 dev_err(&pdev->dev, "Failed to request direction pwm: %d", err);
197
- /* Fall through */
193
+ fallthrough;
198194
199195 case -EPROBE_DEFER:
200196 return err;