Explorar o código

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>
Wolfram Sang %!s(int64=10) %!d(string=hai) anos
pai
achega
6386a15c44
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      drivers/base/driver.c

+ 0 - 3
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))