[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1395238926-16126-1-git-send-email-fabio.estevam@freescale.com>
Date: Wed, 19 Mar 2014 11:22:06 -0300
From: Fabio Estevam <fabio.estevam@...escale.com>
To: <steve.glendinning@...well.net>
CC: <netdev@...r.kernel.org>, <davem@...emloft.net>,
Fabio Estevam <fabio.estevam@...escale.com>
Subject: [PATCH] smsc911x: Change clock warning message to debug level
Since passing the clock is not mandatory, change the warning message to debug,
so that we avoid getting the following clock failure message on every boot:
smsc911x: Driver version 2008-10-21
smsc911x smsc911x (unregistered net_device): couldn't get clock -2
libphy: smsc911x-mdio: probed
Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
---
drivers/net/ethernet/smsc/smsc911x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c
index 6382b7c..95e2b9a 100644
--- a/drivers/net/ethernet/smsc/smsc911x.c
+++ b/drivers/net/ethernet/smsc/smsc911x.c
@@ -439,7 +439,7 @@ static int smsc911x_request_resources(struct platform_device *pdev)
/* Request clock */
pdata->clk = clk_get(&pdev->dev, NULL);
if (IS_ERR(pdata->clk))
- netdev_warn(ndev, "couldn't get clock %li\n", PTR_ERR(pdata->clk));
+ netdev_dbg(ndev, "couldn't get clock %li\n", PTR_ERR(pdata->clk));
return ret;
}
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists