]> git.baikalelectronics.ru Git - kernel.git/commit
platform/surface: aggregator: Move subsystem hub drivers to their own module
authorMaximilian Luz <luzmaximilian@gmail.com>
Fri, 24 Jun 2022 20:57:59 +0000 (22:57 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Jul 2022 09:23:25 +0000 (11:23 +0200)
commit7c926760dd1b8793259dfc205ca88a1cf191d73e
tree2ba1db1193d3d4e06e76ab196301677bd7a47a8f
parentd8fa69e63bde4a7a1f2c566fcc51b95353dc8358
platform/surface: aggregator: Move subsystem hub drivers to their own module

Split out subsystem device hub drivers into their own module. This
allows us to load the hub drivers separately from the registry, which
will help future DT/OF support.

While doing so, also remove a small bit of code duplication.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20220624205800.1355621-3-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
MAINTAINERS
drivers/platform/surface/Kconfig
drivers/platform/surface/Makefile
drivers/platform/surface/surface_aggregator_hub.c [new file with mode: 0644]
drivers/platform/surface/surface_aggregator_registry.c