hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/power/supply/bq27xxx_battery_hdq.c
....@@ -1,16 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * BQ27xxx battery monitor HDQ/1-wire driver
34 *
4
- * Copyright (C) 2007-2017 Texas Instruments Incorporated - http://www.ti.com/
5
+ * Copyright (C) 2007-2017 Texas Instruments Incorporated - https://www.ti.com/
56 *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
10
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11
- * kind, whether express or implied; without even the implied warranty
12
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
147 */
158
169 #include <linux/kernel.h>
....@@ -104,7 +97,7 @@
10497 bq27xxx_battery_teardown(di);
10598 }
10699
107
-static struct w1_family_ops bq27xxx_battery_hdq_fops = {
100
+static const struct w1_family_ops bq27xxx_battery_hdq_fops = {
108101 .add_slave = bq27xxx_battery_hdq_add_slave,
109102 .remove_slave = bq27xxx_battery_hdq_remove_slave,
110103 };