diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-03-09 12:20:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-10 13:57:42 -0800 |
commit | 35580af0bd620056506ed51fff024fc4ade66f67 (patch) | |
tree | 6344aa01e3af74148a481e4aed90938508160fc1 /drivers/staging/greybus/interface.h | |
parent | 66d674cfafb2be4002265e6081a1580d0ea461f7 (diff) | |
download | op-kernel-dev-35580af0bd620056506ed51fff024fc4ade66f67.zip op-kernel-dev-35580af0bd620056506ed51fff024fc4ade66f67.tar.gz |
greybus: interface: rename initialisation function
Rename the interface-initialisation function gb_interface_enable(),
which is more descriptive.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Jeffrey Carlyle <jcarlyle@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r-- | drivers/staging/greybus/interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h index 7fc7d29..4b69e9e 100644 --- a/drivers/staging/greybus/interface.h +++ b/drivers/staging/greybus/interface.h @@ -47,7 +47,7 @@ struct gb_interface *gb_interface_find(struct gb_host_device *hd, struct gb_interface *gb_interface_create(struct gb_host_device *hd, u8 interface_id); -int gb_interface_init(struct gb_interface *intf); +int gb_interface_enable(struct gb_interface *intf); int gb_interface_add(struct gb_interface *intf); void gb_interface_remove(struct gb_interface *intf); |