diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-08-11 07:36:16 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-08-11 19:34:34 -0700 |
commit | bf81454738990e7acd089e1b8aac8bab6a54637f (patch) | |
tree | 3222616011f72405efd637b1fda77e64beee17dc /drivers/staging/greybus/protocol.h | |
parent | greybus: protocol: Drop define_get_version support (diff) | |
download | linux-bf81454738990e7acd089e1b8aac8bab6a54637f.tar.gz linux-bf81454738990e7acd089e1b8aac8bab6a54637f.tar.bz2 linux-bf81454738990e7acd089e1b8aac8bab6a54637f.zip |
greybus: protocol: Remove unnecessary params of gb_protocol_get_version()
Some of the parameters are not really required, drop them.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/protocol.h')
-rw-r--r-- | drivers/staging/greybus/protocol.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/greybus/protocol.h b/drivers/staging/greybus/protocol.h index 45606adacf35..34a7f185a638 100644 --- a/drivers/staging/greybus/protocol.h +++ b/drivers/staging/greybus/protocol.h @@ -44,10 +44,8 @@ int gb_protocol_deregister(struct gb_protocol *protocol); __gb_protocol_register(protocol, THIS_MODULE) struct gb_protocol *gb_protocol_get(u8 id, u8 major, u8 minor); -int gb_protocol_get_version(struct gb_connection *connection, int type, - void *request, int request_size, - struct gb_protocol_version_response *response, - __u8 major); +int gb_protocol_get_version(struct gb_connection *connection, void *request, + int request_size); void gb_protocol_put(struct gb_protocol *protocol); |