summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-05-20 17:33:51 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-05-20 22:39:18 -0700
commit51b5d8d783fe8ee6b272f09ef645747e53166c7f (patch)
treea4b156fe354f144ea0b4cb68aad6b9c8d7ac8c05 /drivers/staging/greybus/interface.h
parent5ddf738e944b652e8d2ddb17f97c0c72ee05667c (diff)
greybus: interface: name routines consistently
Routines should be named this way: gb_<object>_<operation>. Fix all routines that don't match this. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r--drivers/staging/greybus/interface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 9ee5b551029e..88a7a8056806 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -47,10 +47,10 @@ static inline void *gb_interface_get_drvdata(struct gb_interface *intf)
struct gb_interface *gb_interface_find(struct greybus_host_device *hd,
u8 interface_id);
-void gb_add_interface(struct greybus_host_device *hd, u8 interface_id, u8 *data,
+void gb_interface_add(struct greybus_host_device *hd, u8 interface_id, u8 *data,
int size);
-void gb_remove_interface(struct greybus_host_device *hd, u8 interface_id);
-void gb_remove_interfaces(struct greybus_host_device *hd);
+void gb_interface_remove(struct greybus_host_device *hd, u8 interface_id);
+void gb_interfaces_remove(struct greybus_host_device *hd);
#endif /* __INTERFACE_H */