mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 22:58:29 +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
1 changed files with 0 additions and 3 deletions
|
@ -151,9 +151,6 @@ int driver_register(struct device_driver *drv)
|
||||||
|
|
||||||
BUG_ON(!drv->bus->p);
|
BUG_ON(!drv->bus->p);
|
||||||
|
|
||||||
if (!drv->owner)
|
|
||||||
printk(KERN_WARNING "Driver '%s' needs an owner", drv->name);
|
|
||||||
|
|
||||||
if ((drv->bus->probe && drv->probe) ||
|
if ((drv->bus->probe && drv->probe) ||
|
||||||
(drv->bus->remove && drv->remove) ||
|
(drv->bus->remove && drv->remove) ||
|
||||||
(drv->bus->shutdown && drv->shutdown))
|
(drv->bus->shutdown && drv->shutdown))
|
||||||
|
|
Loading…
Add table
Reference in a new issue