summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/module.c
diff options
context:
space:
mode:
authorViresh Kumar2015-05-20 13:18:04 +0200
committerGreg Kroah-Hartman2015-05-21 07:39:18 +0200
commitc16b63e851e1100e670ab47a094e8c414996e6f9 (patch)
treec95f87c3a918c3fc0956f4c8c75d4603216a37fa /drivers/staging/greybus/module.c
parentgreybus: interface: name routines consistently (diff)
downloadkernel-qcow2-linux-c16b63e851e1100e670ab47a094e8c414996e6f9.tar.gz
kernel-qcow2-linux-c16b63e851e1100e670ab47a094e8c414996e6f9.tar.xz
kernel-qcow2-linux-c16b63e851e1100e670ab47a094e8c414996e6f9.zip
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: 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/module.c')
-rw-r--r--drivers/staging/greybus/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/module.c b/drivers/staging/greybus/module.c
index 8ed96a8ba26d..07b7e444d766 100644
--- a/drivers/staging/greybus/module.c
+++ b/drivers/staging/greybus/module.c
@@ -71,7 +71,7 @@ static struct attribute *module_attrs[] = {
};
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);
@@ -80,7 +80,7 @@ static void greybus_module_release(struct device *dev)
struct device_type greybus_module_type = {
.name = "greybus_module",
- .release = greybus_module_release,
+ .release = gb_module_release,
};
struct module_find {