hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
kernel/drivers/media/usb/gspca/sunplus.c
....@@ -1,18 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Sunplus spca504(abc) spca533 spca536 library
34 * Copyright (C) 2005 Michel Xhaard mxhaard@magic.fr
45 *
56 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
167 */
178
189 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -564,7 +555,7 @@
564555 case BRIDGE_SPCA504:
565556 case BRIDGE_SPCA504C:
566557 pollreg = 0;
567
- /* fall thru */
558
+ fallthrough;
568559 default:
569560 /* case BRIDGE_SPCA533: */
570561 /* case BRIDGE_SPCA504B: */
....@@ -647,7 +638,7 @@
647638 reg_w_riv(gspca_dev, 0x00, 0x2000, 0x00);
648639 reg_w_riv(gspca_dev, 0x00, 0x2301, 0x13);
649640 reg_w_riv(gspca_dev, 0x00, 0x2306, 0x00);
650
- /* fall thru */
641
+ fallthrough;
651642 case BRIDGE_SPCA533:
652643 spca504B_PollingDataReady(gspca_dev);
653644 spca50x_GetFirmware(gspca_dev);