summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/es2.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-11-03 18:03:25 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-04 20:25:57 -0800
commitd6e139bc15118ceb9173ee03e3f2db63b57e0f77 (patch)
tree5edb00e7ccbc6cfbf0f4ff98cbc397b0ca712bc9 /drivers/staging/greybus/es2.c
parenta8cc020f3f8ec684f0c48d30524ae8198b56038b (diff)
downloadop-kernel-dev-d6e139bc15118ceb9173ee03e3f2db63b57e0f77.zip
op-kernel-dev-d6e139bc15118ceb9173ee03e3f2db63b57e0f77.tar.gz
greybus: hd: use common prefix for exported functions
Rename the exported functions using the common gb_-prefix. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/es2.c')
-rw-r--r--drivers/staging/greybus/es2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c
index 903e321..1e786a6 100644
--- a/drivers/staging/greybus/es2.c
+++ b/drivers/staging/greybus/es2.c
@@ -548,7 +548,7 @@ static void ap_disconnect(struct usb_interface *interface)
usb_set_intfdata(interface, NULL);
udev = es2->usb_dev;
- greybus_remove_hd(es2->hd);
+ gb_hd_remove(es2->hd);
kfree(es2->cport_to_ep);
usb_put_dev(udev);
@@ -807,8 +807,8 @@ static int ap_probe(struct usb_interface *interface,
return num_cports;
}
- hd = greybus_create_hd(&es2_driver, &udev->dev, ES2_GBUF_MSG_SIZE_MAX,
- num_cports);
+ hd = gb_hd_create(&es2_driver, &udev->dev, ES2_GBUF_MSG_SIZE_MAX,
+ num_cports);
if (IS_ERR(hd)) {
usb_put_dev(udev);
return PTR_ERR(hd);
OpenPOWER on IntegriCloud