linux-yocto/drivers/platform
Kurt Borja f65ad436e4 platform/x86: think-lmi: Fix sysfs group cleanup
commit 4f30f946f2 upstream.

Many error paths in tlmi_sysfs_init() lead to sysfs groups being removed
when they were not even created.

Fix this by letting the kobject core manage these groups through their
kobj_type's defult_groups.

Fixes: a40cd7ef22 ("platform/x86: think-lmi: Add WMI interface support on Lenovo platforms")
Cc: stable@vger.kernel.org
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250630-lmi-fix-v3-3-ce4f81c9c481@gmail.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-10 16:05:13 +02:00
..
arm64 move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
chrome platform/chrome: cros_ec_lpc: Match on Framework ACPI device 2025-04-20 10:15:12 +02:00
cznic platform: cznic: CZNIC_PLATFORMS should depend on ARCH_MVEBU 2025-02-27 04:30:20 -08:00
goldfish
loongarch platform/loongarch: laptop: Add backlight power control support 2025-06-27 11:11:37 +01:00
mellanox platform/mellanox: mlxreg-lc: Fix logic error in power state check 2025-07-10 16:04:50 +02:00
mips
olpc platform-drivers-x86 for v6.12-1 2024-09-19 09:16:04 +02:00
surface move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
x86 platform/x86: think-lmi: Fix sysfs group cleanup 2025-07-10 16:05:13 +02:00
Kconfig
Makefile