summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/control.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-01-19 12:51:00 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-19 12:12:40 -0800
commit6d3d95042e6b3bede0199bad0d08f71b4f7735fb (patch)
treebdbc5ed6876ff4fa89134c118b0c927f122c7ac2 /drivers/staging/greybus/control.c
parent5dda7e5a484295f24ecfcba6b64da6d37dccb912 (diff)
downloadop-kernel-dev-6d3d95042e6b3bede0199bad0d08f71b4f7735fb.zip
op-kernel-dev-6d3d95042e6b3bede0199bad0d08f71b4f7735fb.tar.gz
greybus: connection: rename legacy init and exit functions
Rename legacy connection init and exit functions. This is a step towards removing the legacy-protocol handling from core. 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/control.c')
-rw-r--r--drivers/staging/greybus/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/control.c b/drivers/staging/greybus/control.c
index 4d65dbf..1c4994b 100644
--- a/drivers/staging/greybus/control.c
+++ b/drivers/staging/greybus/control.c
@@ -116,7 +116,7 @@ int gb_control_enable(struct gb_control *control)
dev_dbg(&control->connection->intf->dev, "%s\n", __func__);
- ret = gb_connection_init(control->connection);
+ ret = gb_connection_legacy_init(control->connection);
if (ret) {
dev_err(&control->connection->intf->dev,
"failed to enable control connection: %d\n",
@@ -131,7 +131,7 @@ void gb_control_disable(struct gb_control *control)
{
dev_dbg(&control->connection->intf->dev, "%s\n", __func__);
- gb_connection_exit(control->connection);
+ gb_connection_legacy_exit(control->connection);
}
void gb_control_destroy(struct gb_control *control)
OpenPOWER on IntegriCloud