summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-11-11 00:49:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-11 14:29:38 +0900
commit6386a15c445c1cd0108671a0078a4b65af89799c (patch)
tree40d8f0b6ee6a2abd85a69c45af9ba395432b911e /drivers/base
parent246246cbde5e840012f853e27630ebb59f409486 (diff)
downloadblackbird-obmc-linux-6386a15c445c1cd0108671a0078a4b65af89799c.tar.gz
blackbird-obmc-linux-6386a15c445c1cd0108671a0078a4b65af89799c.zip
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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 6b10ff3bb410..9e29943e56ca 100644
--- a/drivers/base/driver.c
+++ b/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))
OpenPOWER on IntegriCloud