diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2015-07-24 17:19:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-07-27 14:13:16 -0700 |
commit | d187576fbe66995a97eebddaa27474b50407d18f (patch) | |
tree | e63e3bce743116d51cdc04a2b59eaa330a9c6193 /drivers/staging/greybus/core.c | |
parent | 90c807e4fb19dba5db3ec7b6a86b0038aa574f84 (diff) |
greybus: remove submit_svc from the host driver
The callback is never used anymore, so remove it from struct
greybus_host_driver as well as from the es1 and es2 drivers.
Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/core.c')
-rw-r--r-- | drivers/staging/greybus/core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index 18075f7ec038..49a28ba532dc 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -175,8 +175,7 @@ struct greybus_host_device *greybus_create_hd(struct greybus_host_driver *driver * Validate that the driver implements all of the callbacks * so that we don't have to every time we make them. */ - if ((!driver->message_send) || (!driver->message_cancel) || - (!driver->submit_svc)) { + if ((!driver->message_send) || (!driver->message_cancel)) { pr_err("Must implement all greybus_host_driver callbacks!\n"); return ERR_PTR(-EINVAL); } |