mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
Revert "core: platform: add warning if driver has no owner"
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>
This commit is contained in:
parent
246246cbde
commit
6386a15c44
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user