aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorKurt Borja <[email protected]>2025-06-30 17:31:21 +0000
committerIlpo Järvinen <[email protected]>2025-07-02 09:01:25 +0000
commit4f30f946f27b7f044cf8f3f1f353dee1dcd3517a (patch)
tree22bba3f6a91a3e515889ecbdb866ac1967a3b0eb /rust/helpers/pci.c
parentplatform/x86: think-lmi: Fix kobject cleanup (diff)
downloadkernel-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 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions