OpenCloudOS-Kernel/include/linux/surface_aggregator
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
..
controller.h platform/surface: aggregator: Add helper macros for requests with argument and return value 2022-07-02 11:11:07 +02:00
device.h platform/surface: aggregator: Move device registry helper functions to core module 2022-07-02 11:23:14 +02:00
serial_hub.h platform/surface: aggregator: Reserve more event- and target-categories 2022-06-22 12:06:28 +02:00