diff options
author | Maximilian Luz <luzmaximilian@gmail.com> | 2021-10-28 02:22:41 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-11-16 10:56:54 +0100 |
commit | 38543b72fbe52b7eec0dedd420d80a06c652d8e4 (patch) | |
tree | 9dbc872dad045892eaa9db3e90c05579a64345b4 /drivers/platform/surface/aggregator/bus.h | |
parent | platform/x86: asus-wmi: Add support for custom fan curves (diff) | |
download | linux-dev-38543b72fbe52b7eec0dedd420d80a06c652d8e4.tar.xz linux-dev-38543b72fbe52b7eec0dedd420d80a06c652d8e4.zip |
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>
Diffstat (limited to 'drivers/platform/surface/aggregator/bus.h')
-rw-r--r-- | drivers/platform/surface/aggregator/bus.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/platform/surface/aggregator/bus.h b/drivers/platform/surface/aggregator/bus.h index ed032c2cbdb2..6964ee84e79c 100644 --- a/drivers/platform/surface/aggregator/bus.h +++ b/drivers/platform/surface/aggregator/bus.h @@ -12,14 +12,11 @@ #ifdef CONFIG_SURFACE_AGGREGATOR_BUS -void ssam_controller_remove_clients(struct ssam_controller *ctrl); - int ssam_bus_register(void); void ssam_bus_unregister(void); #else /* CONFIG_SURFACE_AGGREGATOR_BUS */ -static inline void ssam_controller_remove_clients(struct ssam_controller *ctrl) {} static inline int ssam_bus_register(void) { return 0; } static inline void ssam_bus_unregister(void) {} |