projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246246c
)
Revert "core: platform: add warning if driver has no owner"
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 10 Nov 2014 23:49:25 +0000
(
00:49
+0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 11 Nov 2014 05:29:38 +0000
(14:29 +0900)
This is too noisy at the moment, triggered by codepaths not accessed on
our test-systems. Needs more investigation.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/driver.c
patch
|
blob
|
history
diff --git
a/drivers/base/driver.c
b/drivers/base/driver.c
index 6b10ff3bb410ca377b108483d782a2729532338c..9e29943e56cae1d18d9dfcf3564baf4f839f087a 100644
(file)
--- a/
drivers/base/driver.c
+++ b/
drivers/base/driver.c
@@
-151,9
+151,6
@@
int driver_register(struct device_driver *drv)
BUG_ON(!drv->bus->p);
- if (!drv->owner)
- printk(KERN_WARNING "Driver '%s' needs an owner", drv->name);
-
if ((drv->bus->probe && drv->probe) ||
(drv->bus->remove && drv->remove) ||
(drv->bus->shutdown && drv->shutdown))