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-29 10:06:18 -0700 |
commit | 260998ebc6c5e4a2518347eb4f99629fac4fe6cb (patch) | |
tree | eb97694034aa27cb3fafa89dfe5e82126c47fe08 /drivers/staging/greybus/core.c | |
parent | 8476ec60e1111839469779bb0bba1eade95e53c5 (diff) | |
download | op-kernel-dev-260998ebc6c5e4a2518347eb4f99629fac4fe6cb.zip op-kernel-dev-260998ebc6c5e4a2518347eb4f99629fac4fe6cb.tar.gz |
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 cd15a94..7d5cd99 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -176,8 +176,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); } |