diff options
author | Kurt Borja <kuurtb@gmail.com> | 2025-06-25 22:17:36 -0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-06-30 12:12:16 +0300 |
commit | 5ff1fbb3059730700b4823f43999fc1315984632 (patch) | |
tree | a0d4a30a52f12df5cfbc646a02062dc5ea93e01c /scripts/lib/kdoc/kdoc_parser.py | |
parent | 11cba4793b95df3bc192149a6eb044f69aa0b99e (diff) |
platform/x86: think-lmi: Fix class device unregistration
Devices under the firmware_attributes_class do not have unique a dev_t.
Therefore, device_unregister() should be used instead of
device_destroy(), since the latter may match any device with a given
dev_t.
Fixes: a40cd7ef22fb ("platform/x86: think-lmi: Add WMI interface support on Lenovo platforms")
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250625-dest-fix-v1-2-3a0f342312bb@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions