Skip to contentSkip to conversation

drivers: base: change 'driver_create_groups' to 'driver_add_groups' in printk

PATCH New Joe Pater 1 participant 1 message Jan 10, 2021 Driver core

lore
Share & tools
lore

Joe Pater

author
#0 lore raw

PATCH 1/1 drivers: base: change 'driver_create_groups' to 'driver_add_groups' in printk

driver_create_groups doesn't seem to have ever existed. Change its mention in a printk to 'driver_add_groups'.

---
 drivers/base/bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/bus.c +1 -1
index a9c23ecebc7c..a34ba825bad7 100644
@@ -633,7 +633,7 @@ int bus_add_driver(struct device_driver *drv)
 	error = driver_add_groups(drv, bus->drv_groups);
 	if (error) {
 		/* How the hell do we get out of this pickle? Give up */
-		printk(KERN_ERR "%s: driver_create_groups(%s) failed\n",
+		printk(KERN_ERR "%s: driver_add_groups(%s) failed\n",
 			__func__, drv->name);
 	}
 

base-commit: 2ff90100ace886895e4fbb2850b8d5e49d931ed6

Signature · 1 line
2.29.2