diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-11-03 18:03:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-11-04 20:25:57 -0800 |
commit | d6e139bc15118ceb9173ee03e3f2db63b57e0f77 (patch) | |
tree | 5edb00e7ccbc6cfbf0f4ff98cbc397b0ca712bc9 /drivers/staging/greybus/hd.c | |
parent | a8cc020f3f8ec684f0c48d30524ae8198b56038b (diff) | |
download | linux-d6e139bc15118ceb9173ee03e3f2db63b57e0f77.tar.bz2 |
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/hd.c')
-rw-r--r-- | drivers/staging/greybus/hd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/greybus/hd.c b/drivers/staging/greybus/hd.c index 910e1d2bd49f..6f29eb49993a 100644 --- a/drivers/staging/greybus/hd.c +++ b/drivers/staging/greybus/hd.c @@ -28,10 +28,10 @@ static void free_hd(struct kref *kref) mutex_unlock(&hd_mutex); } -struct gb_host_device *greybus_create_hd(struct gb_hd_driver *driver, - struct device *parent, - size_t buffer_size_max, - size_t num_cports) +struct gb_host_device *gb_hd_create(struct gb_hd_driver *driver, + struct device *parent, + size_t buffer_size_max, + size_t num_cports) { struct gb_host_device *hd; @@ -94,9 +94,9 @@ struct gb_host_device *greybus_create_hd(struct gb_hd_driver *driver, return hd; } -EXPORT_SYMBOL_GPL(greybus_create_hd); +EXPORT_SYMBOL_GPL(gb_hd_create); -void greybus_remove_hd(struct gb_host_device *hd) +void gb_hd_remove(struct gb_host_device *hd) { /* * Tear down all interfaces, modules, and the endo that is associated @@ -112,4 +112,4 @@ void greybus_remove_hd(struct gb_host_device *hd) kref_put_mutex(&hd->kref, free_hd, &hd_mutex); } -EXPORT_SYMBOL_GPL(greybus_remove_hd); +EXPORT_SYMBOL_GPL(gb_hd_remove); |