diff options
| author | Kurt Borja <[email protected]> | 2025-06-26 01:17:37 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-06-30 09:12:17 +0000 |
| commit | 314e5ad4782d08858b3abc325c0487bd2abc23a1 (patch) | |
| tree | 7326b3f26e6b819d3c7758533238583806a9d1f2 /drivers/platform/x86/amd/pmc/pmc-quirks.c | |
| parent | platform/x86: think-lmi: Fix class device unregistration (diff) | |
| download | kernel-314e5ad4782d08858b3abc325c0487bd2abc23a1.tar.gz kernel-314e5ad4782d08858b3abc325c0487bd2abc23a1.zip | |
platform/x86: dell-wmi-sysman: 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: e8a60aa7404b ("platform/x86: Introduce support for Systems Management Driver over WMI for Dell Systems")
Signed-off-by: Kurt Borja <[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 'drivers/platform/x86/amd/pmc/pmc-quirks.c')
0 files changed, 0 insertions, 0 deletions
