hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/mfd/si476x-i2c.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * drivers/mfd/si476x-i2c.c -- Core device driver for si476x MFD
34 * device
....@@ -6,16 +7,6 @@
67 * Copyright (C) 2013 Andrey Smirnov
78 *
89 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License as published by
12
- * the Free Software Foundation; version 2 of the License.
13
- *
14
- * This program is distributed in the hope that it will be useful, but
15
- * WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
- * General Public License for more details.
18
- *
1910 */
2011 #include <linux/module.h>
2112
....@@ -543,6 +534,11 @@
543534 /**
544535 * si476x_firmware_version_to_revision()
545536 * @core: Core device structure
537
+ * @func: Selects the boot function of the device:
538
+ * *_BOOTLOADER - Boot loader
539
+ * *_FM_RECEIVER - FM receiver
540
+ * *_AM_RECEIVER - AM receiver
541
+ * *_WB_RECEIVER - Weatherband receiver
546542 * @major: Firmware major number
547543 * @minor1: Firmware first minor number
548544 * @minor2: Firmware second minor number
....@@ -592,7 +588,7 @@
592588 goto unknown_revision;
593589 }
594590 case SI476X_FUNC_BOOTLOADER:
595
- default: /* FALLTHROUG */
591
+ default: /* FALLTHROUGH */
596592 BUG();
597593 return -1;
598594 }