mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
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>
This commit is contained in:
parent
51b5d8d783
commit
c16b63e851
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue