diff options
author | Maximilian Luz | 2022-06-24 22:57:58 +0200 |
---|---|---|
committer | Hans de Goede | 2022-07-02 11:23:14 +0200 |
commit | 4a4ab610b8ae912c28a4fd28442ef24ed7a1a5bd (patch) | |
tree | 87e9f89d0476660b7124d90835b7fbf06be70a21 /drivers/mtd | |
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 <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>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions