diff options
author | Johan Hovold | 2016-01-21 17:34:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-01-22 07:45:09 +0100 |
commit | e4c16f8b034047096187a9a9b49035ff5dbc8478 (patch) | |
tree | 7706d8ba63792b4e5745ca15071321227b353a69 /drivers/staging/greybus/connection.h | |
parent | greybus: connection: add helper to create control connections (diff) | |
download | kernel-qcow2-linux-e4c16f8b034047096187a9a9b49035ff5dbc8478.tar.gz kernel-qcow2-linux-e4c16f8b034047096187a9a9b49035ff5dbc8478.tar.xz kernel-qcow2-linux-e4c16f8b034047096187a9a9b49035ff5dbc8478.zip |
greybus: connection: drop the legacy protocol-id parameter
The protocol-id parameter is only used by the legacy driver so remove
it from the generic interface and move it to the legacy driver until it
can be removed completely.
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.h')
-rw-r--r-- | drivers/staging/greybus/connection.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h index cd4a093f6e9b..442bd49b5052 100644 --- a/drivers/staging/greybus/connection.h +++ b/drivers/staging/greybus/connection.h @@ -59,8 +59,7 @@ struct gb_connection *gb_connection_create_static(struct gb_host_device *hd, u16 hd_cport_id); struct gb_connection *gb_connection_create_control(struct gb_interface *intf); struct gb_connection *gb_connection_create_dynamic(struct gb_interface *intf, - struct gb_bundle *bundle, u16 cport_id, - u8 protocol_id); + struct gb_bundle *bundle, u16 cport_id); void gb_connection_destroy(struct gb_connection *connection); static inline bool gb_connection_is_static(struct gb_connection *connection) |