lkml.org 
[lkml]   [2014]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Revert "core: platform: add warning if driver has no owner"
Date
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


\
 
 \ /
  Last update: 2014-11-11 01:21    [W:0.045 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site