diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-03-19 10:22:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-20 16:17:22 -0400 |
commit | 8798998c2cdbc0df3c64e8845c1502ed93ef1ebd (patch) | |
tree | b6e2074686b792075de8bdd4d812358c6f3af63f /drivers/net/ethernet/smsc | |
parent | e35bad5d876dc7b0bfd794a3ba328a442bd970e0 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c index 6382b7c416f4..95e2b9a20d40 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) | |||
439 | /* Request clock */ | 439 | /* Request clock */ |
440 | pdata->clk = clk_get(&pdev->dev, NULL); | 440 | pdata->clk = clk_get(&pdev->dev, NULL); |
441 | if (IS_ERR(pdata->clk)) | 441 | if (IS_ERR(pdata->clk)) |
442 | netdev_warn(ndev, "couldn't get clock %li\n", PTR_ERR(pdata->clk)); | 442 | netdev_dbg(ndev, "couldn't get clock %li\n", PTR_ERR(pdata->clk)); |
443 | 443 | ||
444 | return ret; | 444 | return ret; |
445 | } | 445 | } |