diff options
author | Armin Wolf <W_Armin@gmx.de> | 2023-10-20 23:10:05 +0200 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-10-25 12:46:42 +0300 |
commit | ac9bc85c49ffcfca8c1b117e1a9e94dd32680c68 (patch) | |
tree | 56a9e1449620886220c8d7d94a19f7e7b9b7cf95 /drivers/platform/chrome/cros_ec.h | |
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 <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231020211005.38216-6-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/chrome/cros_ec.h')
0 files changed, 0 insertions, 0 deletions