diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-05-20 16:48:04 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-20 22:39:18 -0700 |
commit | c16b63e851e1100e670ab47a094e8c414996e6f9 (patch) | |
tree | c95f87c3a918c3fc0956f4c8c75d4603216a37fa /drivers/staging/greybus/module.c | |
parent | 51b5d8d783fe8ee6b272f09ef645747e53166c7f (diff) | |
download | linux-c16b63e851e1100e670ab47a094e8c414996e6f9.tar.gz linux-c16b63e851e1100e670ab47a094e8c414996e6f9.tar.bz2 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.c | 4 |
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 { |