hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/include/linux/power/bq2415x_charger.h
....@@ -1,21 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * bq2415x charger driver
34 *
4
- * Copyright (C) 2011-2013 Pali Rohár <pali.rohar@gmail.com>
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
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along
17
- * with this program; if not, write to the Free Software Foundation, Inc.,
18
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5
+ * Copyright (C) 2011-2013 Pali Rohár <pali@kernel.org>
196 */
207
218 #ifndef BQ2415X_CHARGER_H
....@@ -27,8 +14,8 @@
2714 * value is -1 then default chip value (specified in datasheet) will be
2815 * used.
2916 *
30
- * Value resistor_sense is needed for for configuring charge and
31
- * termination current. It it is less or equal to zero, configuring charge
17
+ * Value resistor_sense is needed for configuring charge and
18
+ * termination current. If it is less or equal to zero, configuring charge
3219 * and termination current will not be possible.
3320 *
3421 * For automode support is needed to provide name of power supply device