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:
Wolfram Sang 2014-11-11 00:49:25 +01:00 committed by Greg Kroah-Hartman
parent 246246cbde
commit 6386a15c44

View File

@ -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))