diff options
author | Armin Wolf <[email protected]> | 2023-10-20 23:10:05 +0200 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2023-10-25 12:46:42 +0300 |
commit | ac9bc85c49ffcfca8c1b117e1a9e94dd32680c68 (patch) | |
tree | 56a9e1449620886220c8d7d94a19f7e7b9b7cf95 /lib | |
parent | eba9ac7abab91c8f6d351460239108bef5e7a0b6 (diff) |
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]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions