diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-27 00:05:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-08 00:42:38 +0300 |
commit | a13bd6f3c936edff957f2d02cf65c44046cb1243 (patch) | |
tree | 70377f6d6bcd287ccc5e99b32220c2150f3d6a1c /drivers/cdx/controller/cdx_controller.c | |
parent | 3bd291383c727bfbe6e8d21e2c16776fe9bd7dcf (diff) | |
download | linux-a13bd6f3c936edff957f2d02cf65c44046cb1243.tar.xz |
greybus: move is_gb_* functions out of greybus.h
The functions below are only used within the context of
drivers/greybus/core.c, so move them all into core and drop their 'inline'
specifiers:
is_gb_host_device(), is_gb_module(), is_gb_interface(), is_gb_control(),
is_gb_bundle() and is_gb_svc().
Suggested-by: Alex Elder <elder@ieee.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net>
Reviewed-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20240226-device_cleanup-greybus2-v1-1-5f7d1161e684@marliere.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions