mirror-linux/drivers/platform/x86/hp
Kurt Borja 11cba4793b
platform/x86: hp-bioscfg: 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: a34fc329b1 ("platform/x86: hp-bioscfg: bioscfg")
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250625-dest-fix-v1-1-3a0f342312bb@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2025-06-30 12:12:13 +03:00
..
hp-bioscfg platform/x86: hp-bioscfg: Fix class device unregistration 2025-06-30 12:12:13 +03:00
Kconfig ACPI: EC: make EC support compile-time conditional 2024-10-24 17:47:15 +02:00
Makefile platform/x86: hp-bioscfg: Makefile 2023-07-10 14:41:29 +02:00
hp-wmi.c Merge branch 'fixes' into 'for-next' 2025-01-21 14:00:38 +02:00
hp_accel.c Input: i8042 - Add support for platform filter contexts 2025-01-15 16:26:39 +02:00
tc1100-wmi.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00