summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/connection.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-01-21 17:34:11 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-21 22:45:09 -0800
commitbafe3f67908c68a0b1fdc527c79cd7d9106abd85 (patch)
tree578c1272be171d92f90cd9aac4e8b04c7860f150 /drivers/staging/greybus/connection.c
parentd6fba3dbb04dac64cf7fa6d33ea7fce81ecf862c (diff)
downloadop-kernel-dev-bafe3f67908c68a0b1fdc527c79cd7d9106abd85.zip
op-kernel-dev-bafe3f67908c68a0b1fdc527c79cd7d9106abd85.tar.gz
greybus: connection: drop protocol parameter from static interface
Drop legacy protocol parameter from static connection interface. 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.c')
-rw-r--r--drivers/staging/greybus/connection.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c
index c92af6e..9b8112b 100644
--- a/drivers/staging/greybus/connection.c
+++ b/drivers/staging/greybus/connection.c
@@ -217,11 +217,9 @@ err_unlock:
}
struct gb_connection *
-gb_connection_create_static(struct gb_host_device *hd,
- u16 hd_cport_id, u8 protocol_id)
+gb_connection_create_static(struct gb_host_device *hd, u16 hd_cport_id)
{
- return gb_connection_create(hd, hd_cport_id, NULL, NULL, 0,
- protocol_id);
+ return gb_connection_create(hd, hd_cport_id, NULL, NULL, 0, 0);
}
struct gb_connection *
OpenPOWER on IntegriCloud