diff options
author | Maximilian Luz <[email protected]> | 2022-06-24 22:57:58 +0200 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2022-07-02 11:23:14 +0200 |
commit | 4a4ab610b8ae912c28a4fd28442ef24ed7a1a5bd (patch) | |
tree | 87e9f89d0476660b7124d90835b7fbf06be70a21 /drivers/platform/surface/aggregator/controller.c | |
parent | 70e85eb071a118c13b690df595bd8129e9fbbe79 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions