projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4104ca7
)
drivers: base: change 'driver_create_groups' to 'driver_add_groups' in printk
author
Joe Pater
<02joepater06@gmail.com>
Sun, 10 Jan 2021 14:54:43 +0000
(14:54 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 27 Jan 2021 13:35:09 +0000
(14:35 +0100)
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>
drivers/base/bus.c
patch
|
blob
|
history
diff --git
a/drivers/base/bus.c
b/drivers/base/bus.c
index
b48ad51
..
36d0c65
100644
(file)
--- 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);
}