diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-07-24 15:32:26 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-07-29 10:06:18 -0700 |
commit | 38e7b48b0c2e9c3fe2831d824466dc52d1393e7c (patch) | |
tree | a66639f2575b37a36bd55ebfdf7cd95644d2ff8d /drivers/staging/greybus/core.c | |
parent | b767ee402070ce467a2b8470706740b55dd3af21 (diff) | |
download | op-kernel-dev-38e7b48b0c2e9c3fe2831d824466dc52d1393e7c.zip op-kernel-dev-38e7b48b0c2e9c3fe2831d824466dc52d1393e7c.tar.gz |
greybus: get rid of old svc-protocol
Its not used anymore as we have more sophisticated svc protocol in
place, lets get rid of earlier code.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Perry Hung <perry@leaflabs.com>
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 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index 225fa4f..cd15a94 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -270,12 +270,6 @@ static int __init gb_init(void) goto error_bus; } - retval = gb_ap_init(); - if (retval) { - pr_err("gb_ap_init failed (%d)\n", retval); - goto error_ap; - } - retval = gb_operation_init(); if (retval) { pr_err("gb_operation_init failed (%d)\n", retval); @@ -309,8 +303,6 @@ error_control: error_endo: gb_operation_exit(); error_operation: - gb_ap_exit(); -error_ap: bus_unregister(&greybus_bus_type); error_bus: gb_debugfs_cleanup(); @@ -325,7 +317,6 @@ static void __exit gb_exit(void) gb_control_protocol_exit(); gb_endo_exit(); gb_operation_exit(); - gb_ap_exit(); bus_unregister(&greybus_bus_type); gb_debugfs_cleanup(); } |