hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/power/supply/ipaq_micro_battery.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
2
- * This program is free software; you can redistribute it and/or modify
3
- * it under the terms of the GNU General Public License version 2 as
4
- * published by the Free Software Foundation.
53 *
64 * h3xxx atmel micro companion support, battery subdevice
75 * based on previous kernel 2.4 version
86 * Author : Alessandro Gardich <gremlin@gremlin.it>
97 * Author : Linus Walleij <linus.walleij@linaro.org>
10
- *
118 */
129
1310 #include <linux/module.h>
....@@ -152,7 +149,7 @@
152149 default:
153150 val->intval = POWER_SUPPLY_TECHNOLOGY_UNKNOWN;
154151 break;
155
- };
152
+ }
156153 break;
157154 case POWER_SUPPLY_PROP_STATUS:
158155 val->intval = get_status(b);
....@@ -171,7 +168,7 @@
171168 break;
172169 default:
173170 return -EINVAL;
174
- };
171
+ }
175172
176173 return 0;
177174 }
....@@ -188,7 +185,7 @@
188185 break;
189186 default:
190187 return -EINVAL;
191
- };
188
+ }
192189
193190 return 0;
194191 }