Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=48670a1e018a9c0b83dc78e3b71ffb26391ee4b6
Commit:     48670a1e018a9c0b83dc78e3b71ffb26391ee4b6
Parent:     db98e0b434a6265c451ffe94ec0a29b8d0aaf587
Author:     David Brownell <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 16 13:38:02 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Mar 16 19:25:02 2007 -0700

    [PATCH] reduce pnp syslog spam
    
    Make some normal code paths in PNP stop issuing syslog spam.  Since PNP
    issues calls regardless of device capablities, it's no surprise when some
    of those devices don't support those calls!
    
    Signed-off-by: David Brownell <[EMAIL PROTECTED]>
    Cc: Adam Belay <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/pnp/manager.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pnp/manager.c b/drivers/pnp/manager.c
index 5026b34..57e6ab1 100644
--- a/drivers/pnp/manager.c
+++ b/drivers/pnp/manager.c
@@ -451,7 +451,7 @@ int pnp_auto_config_dev(struct pnp_dev *dev)
                return -EINVAL;
 
        if(!pnp_can_configure(dev)) {
-               pnp_info("Device %s does not support resource configuration.", 
dev->dev.bus_id);
+               pnp_dbg("Device %s does not support resource configuration.", 
dev->dev.bus_id);
                return -ENODEV;
        }
 
@@ -482,7 +482,7 @@ int pnp_auto_config_dev(struct pnp_dev *dev)
 int pnp_start_dev(struct pnp_dev *dev)
 {
        if (!pnp_can_write(dev)) {
-               pnp_info("Device %s does not support activation.", 
dev->dev.bus_id);
+               pnp_dbg("Device %s does not support activation.", 
dev->dev.bus_id);
                return -EINVAL;
        }
 
@@ -506,7 +506,7 @@ int pnp_start_dev(struct pnp_dev *dev)
 int pnp_stop_dev(struct pnp_dev *dev)
 {
        if (!pnp_can_disable(dev)) {
-               pnp_info("Device %s does not support disabling.", 
dev->dev.bus_id);
+               pnp_dbg("Device %s does not support disabling.", 
dev->dev.bus_id);
                return -EINVAL;
        }
        if (dev->protocol->disable(dev)<0) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to