From: Viresh Kumar Date: Wed, 20 May 2015 11:18:04 +0000 (+0530) Subject: greybus: module: name routines consistently X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c16b63e851e1100e670ab47a094e8c414996e6f9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: module: name routines consistently Routines should be named this way: gb__. Fix all routines that don't match this. Signed-off-by: Viresh Kumar Reviewed-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- 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 {