Skip to content

Commit

Permalink
Revert "core: platform: add warning if driver has no owner"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wolfram Sang authored and Greg Kroah-Hartman committed Nov 11, 2014
1 parent 246246c commit 6386a15
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/base/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 6386a15

Please sign in to comment.