diff options
Diffstat (limited to 'drivers/base/sys.c')
-rw-r--r-- | drivers/base/sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/sys.c b/drivers/base/sys.c index 1667aaf4fde6..b094e0d6139f 100644 --- a/drivers/base/sys.c +++ b/drivers/base/sys.c | |||
@@ -181,8 +181,8 @@ int sysdev_driver_register(struct sysdev_class *cls, struct sysdev_driver *drv) | |||
181 | int err = 0; | 181 | int err = 0; |
182 | 182 | ||
183 | if (!cls) { | 183 | if (!cls) { |
184 | WARN(1, KERN_WARNING "sysdev: invalid class passed to " | 184 | WARN(1, KERN_WARNING "sysdev: invalid class passed to %s!\n", |
185 | "sysdev_driver_register!\n"); | 185 | __func__); |
186 | return -EINVAL; | 186 | return -EINVAL; |
187 | } | 187 | } |
188 | 188 | ||