hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/media/dvb-frontends/zl10353.c
....@@ -1,18 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Driver for Zarlink DVB-T ZL10353 demodulator
34 *
45 * Copyright (C) 2006, 2007 Christopher Pascoe <c.pascoe@itee.uq.edu.au>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- *
15
- * GNU General Public License for more details.
166 */
177
188 #include <linux/kernel.h>
....@@ -211,7 +201,7 @@
211201 break;
212202 default:
213203 c->bandwidth_hz = 8000000;
214
- /* fall through */
204
+ fallthrough;
215205 case 8000000:
216206 zl10353_single_write(fe, MCLK_RATIO, 0x75);
217207 zl10353_single_write(fe, 0x64, 0x36);
....@@ -268,7 +258,7 @@
268258 if (c->hierarchy == HIERARCHY_AUTO ||
269259 c->hierarchy == HIERARCHY_NONE)
270260 break;
271
- /* fall through */
261
+ fallthrough;
272262 default:
273263 return -EINVAL;
274264 }
....@@ -675,4 +665,4 @@
675665 MODULE_AUTHOR("Chris Pascoe");
676666 MODULE_LICENSE("GPL");
677667
678
-EXPORT_SYMBOL(zl10353_attach);
668
+EXPORT_SYMBOL_GPL(zl10353_attach);