OpenCloudOS-Kernel/drivers/platform/x86/dell
Barnabás Pőcze 8d05fc0394 platform/x86: use PLATFORM_DEVID_NONE instead of -1
Use the `PLATFORM_DEVID_NONE` constant instead of
hard-coding -1 when creating a platform device.

No functional changes are intended.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20220930104857.2796923-1-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-10-03 09:40:04 +02:00
..
dell-wmi-sysman platform/x86: move from strlcpy with unused retval to strscpy 2022-08-26 11:56:56 +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: use PLATFORM_DEVID_NONE instead of -1 2022-10-03 09:40:04 +02: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
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: 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: Add WMI event 0x0012 0x0003 to the list 2022-09-01 16:54:35 +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 platform/x86: use PLATFORM_DEVID_NONE instead of -1 2022-10-03 09:40:04 +02:00