Commit 1066625
ACPI: battery: Install Notify() handler directly
Modify the ACPI battery driver to install its own Notify() handler
directly instead of providing an ACPI driver .notify() callback.
This will allow the ACPI driver .notify() callback to be eliminated and
it will allow the battery driver to be switched over to a platform one
in the future.
While at it, fix up whitespaces in acpi_battery_remove().
Suggested-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Michal Wilczynski <[email protected]>
[ rjw: Subject and changelog edits, whitespace adjustments ]
Signed-off-by: Rafael J. Wysocki <[email protected]>1 parent 6f70168 commit 1066625
1 file changed
+19
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1034 | 1034 | | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | | - | |
| 1037 | + | |
1038 | 1038 | | |
| 1039 | + | |
1039 | 1040 | | |
1040 | 1041 | | |
1041 | 1042 | | |
| |||
1212 | 1213 | | |
1213 | 1214 | | |
1214 | 1215 | | |
1215 | | - | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
1216 | 1222 | | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
1217 | 1226 | | |
1218 | 1227 | | |
1219 | 1228 | | |
1220 | 1229 | | |
1221 | 1230 | | |
| 1231 | + | |
1222 | 1232 | | |
1223 | 1233 | | |
1224 | 1234 | | |
| |||
1228 | 1238 | | |
1229 | 1239 | | |
1230 | 1240 | | |
1231 | | - | |
| 1241 | + | |
1232 | 1242 | | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
1233 | 1248 | | |
1234 | 1249 | | |
| 1250 | + | |
1235 | 1251 | | |
1236 | 1252 | | |
1237 | 1253 | | |
| |||
1264 | 1280 | | |
1265 | 1281 | | |
1266 | 1282 | | |
1267 | | - | |
1268 | 1283 | | |
1269 | 1284 | | |
1270 | 1285 | | |
1271 | | - | |
1272 | 1286 | | |
1273 | 1287 | | |
1274 | 1288 | | |
| |||
0 commit comments