| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * BQ27xxx battery monitor HDQ/1-wire driver |
|---|
| 3 | 4 | * |
|---|
| 4 | | - * Copyright (C) 2007-2017 Texas Instruments Incorporated - http://www.ti.com/ |
|---|
| 5 | + * Copyright (C) 2007-2017 Texas Instruments Incorporated - https://www.ti.com/ |
|---|
| 5 | 6 | * |
|---|
| 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. |
|---|
| 14 | 7 | */ |
|---|
| 15 | 8 | |
|---|
| 16 | 9 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 104 | 97 | bq27xxx_battery_teardown(di); |
|---|
| 105 | 98 | } |
|---|
| 106 | 99 | |
|---|
| 107 | | -static struct w1_family_ops bq27xxx_battery_hdq_fops = { |
|---|
| 100 | +static const struct w1_family_ops bq27xxx_battery_hdq_fops = { |
|---|
| 108 | 101 | .add_slave = bq27xxx_battery_hdq_add_slave, |
|---|
| 109 | 102 | .remove_slave = bq27xxx_battery_hdq_remove_slave, |
|---|
| 110 | 103 | }; |
|---|