diff options
| author | Kurt Borja <[email protected]> | 2025-06-30 17:31:21 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-07-02 09:01:25 +0000 |
| commit | 4f30f946f27b7f044cf8f3f1f353dee1dcd3517a (patch) | |
| tree | 22bba3f6a91a3e515889ecbdb866ac1967a3b0eb /drivers/platform/x86/intel/pmt/class.h | |
| parent | platform/x86: think-lmi: Fix kobject cleanup (diff) | |
| download | kernel-4f30f946f27b7f044cf8f3f1f353dee1dcd3517a.tar.gz kernel-4f30f946f27b7f044cf8f3f1f353dee1dcd3517a.zip | |
platform/x86: think-lmi: Fix sysfs group cleanup
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: a40cd7ef22fb ("platform/x86: think-lmi: Add WMI interface support on Lenovo platforms")
Cc: [email protected]
Reviewed-by: Mark Pearson <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Kurt Borja <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.h')
0 files changed, 0 insertions, 0 deletions
