OpenCloudOS-Kernel/drivers/platform
Maximilian Luz 4a4ab610b8 platform/surface: aggregator: Move device registry helper functions to core module
Move helper functions for client device registration to the core module.
This simplifies addition of future DT/OF support and also allows us to
split out the device hub drivers into their own module.

At the same time, also improve device node validation a bit by not
silently skipping devices with invalid device UID specifiers. Further,
ensure proper lifetime management for the firmware/software nodes
associated with the added devices.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20220624205800.1355621-2-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-07-02 11:23:14 +02:00
..
chrome platform/chrome: cros_ec_spi: drop BUG_ON() if `din` isn't large enough 2022-05-16 10:01:52 +08:00
goldfish platform: goldfish: pipe: Use platform_get_irq() to get the interrupt 2022-03-18 13:55:21 +01:00
mellanox platform/mellanox: nvsw-sn2201: fix error code in nvsw_sn2201_create_static_devices() 2022-06-27 09:37:49 +02:00
mips MIPS: Loongson: Use hwmon_device_register_with_groups() to register hwmon 2022-05-12 17:58:05 +02:00
olpc spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
surface platform/surface: aggregator: Move device registry helper functions to core module 2022-07-02 11:23:14 +02:00
x86 platform/x86: hp-wmi: Ignore Sanitization Mode event 2022-06-28 22:19:14 +02:00
Kconfig platform/x86: Kconfig: Remove unnecessary "if X86" 2022-06-27 09:37:49 +02:00
Makefile platform: Add Surface platform directory 2020-10-27 12:51:03 +01:00