OpenCloudOS-Kernel/drivers/platform/surface
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
..
aggregator platform/surface: aggregator: Move device registry helper functions to core module 2022-07-02 11:23:14 +02:00
Kconfig platform/surface: Add KIP/POS tablet-mode switch driver 2022-07-02 11:11:21 +02:00
Makefile platform/surface: Add KIP/POS tablet-mode switch driver 2022-07-02 11:11:21 +02:00
surface3-wmi.c platform/surface: surface3-wmi: Simplify resource management 2022-02-03 11:56:04 +01:00
surface3_power.c surface: surface3_power: Fix battery readings on batteries without a serial number 2022-03-02 11:42:36 +01:00
surface_acpi_notify.c platform/surface: avoid flush_scheduled_work() usage 2022-06-22 12:03:52 +02:00
surface_aggregator_cdev.c platform/surface: aggregator_cdev: Add lockdep support 2021-06-16 17:47:53 +02:00
surface_aggregator_registry.c platform/surface: aggregator: Move device registry helper functions to core module 2022-07-02 11:23:14 +02:00
surface_aggregator_tabletsw.c platform/surface: Add KIP/POS tablet-mode switch driver 2022-07-02 11:11:21 +02:00
surface_dtx.c platform/surface: dtx: Add missing mutex_destroy() call in failure path 2021-06-16 17:47:52 +02:00
surface_gpe.c platform/surface: gpe: Add support for Surface Pro 8 2022-05-06 13:05:57 +02:00
surface_hotplug.c platform/surface: Add Surface Hot-Plug driver 2021-02-08 16:59:21 +01:00
surface_platform_profile.c platform/surface: aggregator: Make SSAM_DEFINE_SYNC_REQUEST_x define static functions 2021-03-08 11:33:28 +01:00
surfacepro3_button.c platform: x86: ACPI: Get rid of ACPICA message printing 2021-03-08 11:33:39 +01:00