Commit c16b63e8 authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: module: name routines consistently

Routines should be named this way: gb_<object>_<operation>. Fix all
routines that don't match this.
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 51b5d8d7
...@@ -71,7 +71,7 @@ static struct attribute *module_attrs[] = { ...@@ -71,7 +71,7 @@ static struct attribute *module_attrs[] = {
}; };
ATTRIBUTE_GROUPS(module); ATTRIBUTE_GROUPS(module);
static void greybus_module_release(struct device *dev) static void gb_module_release(struct device *dev)
{ {
struct gb_module *module = to_gb_module(dev); struct gb_module *module = to_gb_module(dev);
...@@ -80,7 +80,7 @@ static void greybus_module_release(struct device *dev) ...@@ -80,7 +80,7 @@ static void greybus_module_release(struct device *dev)
struct device_type greybus_module_type = { struct device_type greybus_module_type = {
.name = "greybus_module", .name = "greybus_module",
.release = greybus_module_release, .release = gb_module_release,
}; };
struct module_find { struct module_find {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment