* [PATCH] Revert "core: platform: add warning if driver has no owner"
@ 2014-11-10 23:49 Wolfram Sang
0 siblings, 0 replies; only message in thread
From: Wolfram Sang @ 2014-11-10 23:49 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel, Wolfram Sang
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>
---
drivers/base/driver.c | 3 ---
1 file changed, 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))
--
2.1.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-10 23:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 23:49 [PATCH] Revert "core: platform: add warning if driver has no owner" Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).