summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-03-19 11:22:06 -0300
committerDavid S. Miller <davem@davemloft.net>2014-03-20 16:17:22 -0400
commit8798998c2cdbc0df3c64e8845c1502ed93ef1ebd (patch)
treeb6e2074686b792075de8bdd4d812358c6f3af63f /drivers/net/ethernet/smsc
parente35bad5d876dc7b0bfd794a3ba328a442bd970e0 (diff)
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@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc')
-rw-r--r--drivers/net/ethernet/smsc/smsc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c
index 6382b7c416f..95e2b9a20d4 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;
}