Commit ac9bc85
platform/x86: wmi: Decouple WMI device removal from wmi_block_list
Use device_for_each_child_reverse() to find and unregister WMI devices
belonging to a WMI bus device instead of iterating thru the entire
wmi_block_list.
Signed-off-by: Armin Wolf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>1 parent eba9ac7 commit ac9bc85
1 file changed
+14
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
1290 | | - | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | 1283 | | |
1297 | 1284 | | |
1298 | 1285 | | |
| |||
1487 | 1474 | | |
1488 | 1475 | | |
1489 | 1476 | | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
1490 | 1487 | | |
1491 | 1488 | | |
1492 | 1489 | | |
| 1490 | + | |
1493 | 1491 | | |
1494 | 1492 | | |
1495 | 1493 | | |
1496 | 1494 | | |
1497 | 1495 | | |
1498 | | - | |
1499 | | - | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
1500 | 1499 | | |
1501 | 1500 | | |
1502 | 1501 | | |
| |||
0 commit comments