]> git.baikalelectronics.ru Git - kernel.git/commit
platform/surface: aggregator: Make client device removal more generic
authorMaximilian Luz <luzmaximilian@gmail.com>
Thu, 28 Oct 2021 00:22:41 +0000 (02:22 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 16 Nov 2021 09:56:54 +0000 (10:56 +0100)
commit01c8e73a2e863a6ec40bd8304db425e5a1df4f47
tree9dbc872dad045892eaa9db3e90c05579a64345b4
parent29156ad209ad9782baf99f8218737927e479d020
platform/surface: aggregator: Make client device removal more generic

Currently, there are similar functions defined in the Aggregator
Registry and the controller core.

Make client device removal more generic and export it. We can then use
this function later on to remove client devices from device hubs as well
as the controller and avoid re-defining similar things.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20211028002243.1586083-2-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/aggregator/bus.c
drivers/platform/surface/aggregator/bus.h
drivers/platform/surface/aggregator/core.c
include/linux/surface_aggregator/device.h