diff options
author | Yongxin Liu <[email protected]> | 2019-11-15 13:27:10 +0800 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2020-10-27 15:35:56 +0100 |
commit | 56afb8d48017cbc5216ce3923f11d65683a8e0b6 (patch) | |
tree | 85cea4718b8b91d89e44616ac89cfccb79dda110 /scripts/gdb/linux/config.py | |
parent | 411269babe8374b7777a0f154a2ad27c3c6dc218 (diff) |
Revert "platform/x86: wmi: Destroy on cleanup rather than unregister"
This reverts commit 7b11e8989618581bc0226ad313264cdc05d48d86.
Consider the following hardware setting.
|-PNP0C14:00
| |-- device #1
|-PNP0C14:01
| |-- device #2
When unloading wmi driver module, device #2 will be first unregistered.
But device_destroy() using MKDEV(0, 0) will locate PNP0C14:00 first
and unregister it. This is incorrect. Should use device_unregister() to
unregister the real parent device.
Signed-off-by: Yongxin Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions