mei: me: downgrade two errors to debug level
authorPaul Bolle <pebolle@tiscali.nl>
Thu, 17 Oct 2013 10:52:10 +0000 (13:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Oct 2013 02:53:46 +0000 (19:53 -0700)
The mei_me driver prints "suspend" at error level at each suspend. It
also prints "stop" at error level at driver unload. Downgrade these
uninteresting messages to debug level.

Cc: Adam Jackson <ajax@redhat.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/pci-me.c

index d2ea9ffbc77a2ae37d7270e32b9f1b5e7aaab3f6..1bf300e089939f020fd8e90195130b5d7270b582 100644 (file)
@@ -232,7 +232,7 @@ static void mei_me_remove(struct pci_dev *pdev)
        hw = to_me_hw(dev);
 
 
-       dev_err(&pdev->dev, "stop\n");
+       dev_dbg(&pdev->dev, "stop\n");
        mei_stop(dev);
 
        /* disable interrupts */
@@ -262,7 +262,7 @@ static int mei_me_pci_suspend(struct device *device)
        if (!dev)
                return -ENODEV;
 
-       dev_err(&pdev->dev, "suspend\n");
+       dev_dbg(&pdev->dev, "suspend\n");
 
        mei_stop(dev);