OpenCloudOS-Kernel/drivers/platform/x86/dell
Greg Kroah-Hartman 4b0133533e platform/x86: dell-privacy: convert to use dev_groups
The driver core supports the ability to handle the creation and removal
of device-specific sysfs files in a race-free manner.  Take advantage of
that by converting this driver to use this by moving the sysfs
attributes into a group and assigning the dev_groups pointer to it.

Cc: Perry Yuan <Perry.Yuan@dell.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Mark Gross <markgross@kernel.org>
Cc: Dell.Client.Kernel@dell.com
Cc: platform-driver-x86@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220729115302.2258296-1-gregkh@linuxfoundation.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-08-25 16:23:52 +02:00
..
dell-wmi-sysman platform/x86: dell-wmi-sysman: Change user experience when Admin/System Password is modified 2021-06-28 11:53:24 +02:00
Kconfig platform/x86/dell: Kconfig: Remove unnecessary "depends on X86_PLATFORM_DEVICES" 2022-06-27 09:37:49 +02:00
Makefile platform/x86: dell-privacy: Add support for Dell hardware privacy 2021-06-16 17:47:51 +02:00
alienware-wmi.c platform/x86: Adjust Dell drivers to a personal email address 2021-04-07 19:47:23 +02:00
dcdbas.c platform/x86/dell: add buffer allocation/free functions for SMI calls 2022-04-27 21:45:28 +02:00
dcdbas.h platform/x86/dell: add buffer allocation/free functions for SMI calls 2022-04-27 21:45:28 +02:00
dell-laptop.c platform/x86: dell-laptop: Add quirk entry for Latitude 7520 2022-04-27 16:50:13 +02:00
dell-rbtn.c
dell-rbtn.h
dell-smbios-base.c platform/x86: Adjust Dell drivers to a personal email address 2021-04-07 19:47:23 +02:00
dell-smbios-smm.c platform/x86/dell: add buffer allocation/free functions for SMI calls 2022-04-27 21:45:28 +02:00
dell-smbios-wmi.c platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call 2021-08-26 16:09:43 +02:00
dell-smbios.h
dell-smo8800.c platform/x86: dell-smo8800: Convert to be a platform driver 2021-08-12 09:26:28 +02:00
dell-wmi-aio.c
dell-wmi-base.c platform/x86: dell-wmi: Recognise or support new switches 2021-09-21 15:21:06 +02:00
dell-wmi-descriptor.c platform/x86: Adjust Dell drivers to a personal email address 2021-04-07 19:47:23 +02:00
dell-wmi-descriptor.h
dell-wmi-led.c
dell-wmi-privacy.c platform/x86: dell-privacy: convert to use dev_groups 2022-08-25 16:23:52 +02:00
dell-wmi-privacy.h platform/x86: dell-privacy: Add support for Dell hardware privacy 2021-06-16 17:47:51 +02:00
dell_rbu.c firmware: replace HOTPLUG with UEVENT in FW_ACTION defines 2021-05-13 16:14:45 +02:00