linux-stable/drivers/platform/x86/dell
Thomas Weißschuh 438688d5ae platform/x86: dell-wmi-sysman: Make kobj_type structure constant
Since commit ee6d3dd4ed ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.

Take advantage of this to constify the structure definition to prevent
modification at runtime.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230207-kobj_type-pdx86-v1-1-8e2c4fb83105@weissschuh.net
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-02-10 17:24:03 +01:00
..
dell-wmi-sysman platform/x86: dell-wmi-sysman: Make kobj_type structure constant 2023-02-10 17:24:03 +01:00
alienware-wmi.c platform/x86/dell: alienware-wmi: Use sysfs_emit() instead of scnprintf() 2022-12-08 17:07:07 +01:00
dcdbas.c platform/x86: use PLATFORM_DEVID_NONE instead of -1 2022-10-03 09:40:04 +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: use PLATFORM_DEVID_NONE instead of -1 2022-10-03 09:40:04 +02:00
dell-rbtn.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00
dell-rbtn.h
dell-smbios-base.c platform/x86: dell-smbios-base: Use sysfs_emit() 2022-09-27 15:05:32 +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: Use min_t() for comparison and assignment 2023-02-03 10:01:50 +01:00
dell-wmi-aio.c
dell-wmi-base.c platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table 2023-01-24 13:41:13 +01:00
dell-wmi-ddv.c platform/x86: dell-ddv: Add "force" module param 2023-02-03 10:01:50 +01: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: Only register SW_CAMERA_LENS_COVER if present 2023-01-12 19:40:19 +01: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 platform/x86: use PLATFORM_DEVID_NONE instead of -1 2022-10-03 09:40:04 +02:00
Kconfig platform/x86: dell: Add new dell-wmi-ddv driver 2022-11-16 08:48:18 +01:00
Makefile platform/x86: dell: Add new dell-wmi-ddv driver 2022-11-16 08:48:18 +01:00