hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/power/supply/pm2301_charger.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright 2012 ST Ericsson.
34 *
45 * Power supply driver for ST Ericsson pm2xxx_charger charger
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 version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 #include <linux/init.h>
....@@ -105,11 +102,6 @@
105102 2600,
106103 2800,
107104 3000,
108
-};
109
-
110
-static const struct i2c_device_id pm2xxx_ident[] = {
111
- { "pm2301", 0 },
112
- { }
113105 };
114106
115107 static void set_lpn_pin(struct pm2xxx_charger *pm2)
....@@ -399,7 +391,7 @@
399391
400392 if (val & (PM2XXX_INT4_ITCHARGINGON)) {
401393 dev_dbg(pm2->dev ,
402
- "chargind operation has started\n");
394
+ "charging operation has started\n");
403395 }
404396
405397 if (val & (PM2XXX_INT4_ITVRESUME)) {