forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/usb/gspca/nw80x.c
....@@ -1,19 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * DivIO nw80x subdriver
34 *
45 * Copyright (C) 2011 Jean-François Moine (http://moinejf.free.fr)
56 * Copyright (C) 2003 Sylvain Munaut <tnt@246tNt.com>
67 * Kjell Claesson <keyson@users.sourceforge.net>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
178 */
189
1910 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -2028,7 +2019,7 @@
20282019 V4L2_CID_AUTOGAIN, 0, 1, 1, 1);
20292020 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
20302021 V4L2_CID_GAIN, 0, 253, 1, 128);
2031
- /* fall through */
2022
+ fallthrough;
20322023 case Cvideopro:
20332024 case DvcV6:
20342025 case Kritter: