Commit caf89d7
ACPI: battery: initialize mutexes through devm_ APIs
[ Upstream commit 0710c1c ]
Simplify the cleanup logic a bit.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20240904-acpi-battery-cleanups-v1-3-a3bf74f22d40@weissschuh.net
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Stable-dep-of: 399dbca ("ACPI: battery: Add synchronization between interface updates")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e6c83bbb0119f00f6176315489bb04e2e254af30)1 parent 98d57d8 commit caf89d7
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1210 | 1210 | | |
1211 | 1211 | | |
1212 | 1212 | | |
1213 | | - | |
1214 | | - | |
| 1213 | + | |
| 1214 | + | |
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
| |||
1239 | 1239 | | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | | - | |
1243 | | - | |
1244 | 1242 | | |
1245 | 1243 | | |
1246 | 1244 | | |
| |||
1260 | 1258 | | |
1261 | 1259 | | |
1262 | 1260 | | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | 1261 | | |
1267 | 1262 | | |
1268 | 1263 | | |
| |||
0 commit comments