summaryrefslogtreecommitdiff
path: root/drivers/base/bus.c
diff options
context:
space:
mode:
authorJoe Pater <02joepater06@gmail.com>2021-01-10 17:54:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-27 16:35:09 +0300
commit4044b2fcfb2048a256529ecbd869b43713982006 (patch)
tree5dbc14ac2192b0cca5e1d2f9b5ce8965d30e8ab3 /drivers/base/bus.c
parent4104ca776ba38d81bd6610256d3b0d7e6a058067 (diff)
downloadlinux-4044b2fcfb2048a256529ecbd869b43713982006.tar.xz
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'. Signed-off-by: Joe Pater <02joepater06@gmail.com> Link: https://lore.kernel.org/r/20210110145442.15301-1-02joepater06@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/bus.c')
-rw-r--r--drivers/base/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index b48ad519c34e..36d0c654ea61 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -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);
}