aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2013-03-20 18:46:55 -0400
committerDavid S. Miller <davem@davemloft.net>2013-03-21 11:56:38 -0400
commit14c3326a111b948cabc35d523a43a1e6663f6091 (patch)
treed845ad1486a5ff9c16fb87996b7cdf1e96c8da5e /drivers/net/ethernet/renesas
parent4021db9a0daa42ff72570f7b0375d195e528f73f (diff)
net: sh-eth: Use pr_err instead of printk
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
index 56884c4cd90b..f632085e69b4 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -592,7 +592,7 @@ static int sh_eth_check_reset(struct net_device *ndev)
592 cnt--; 592 cnt--;
593 } 593 }
594 if (cnt < 0) { 594 if (cnt < 0) {
595 printk(KERN_ERR "Device reset fail\n"); 595 pr_err("Device reset fail\n");
596 ret = -ETIMEDOUT; 596 ret = -ETIMEDOUT;
597 } 597 }
598 return ret; 598 return ret;
@@ -2321,7 +2321,7 @@ static const u16 *sh_eth_get_register_offset(int register_type)
2321 reg_offset = sh_eth_offset_fast_sh3_sh2; 2321 reg_offset = sh_eth_offset_fast_sh3_sh2;
2322 break; 2322 break;
2323 default: 2323 default:
2324 printk(KERN_ERR "Unknown register type (%d)\n", register_type); 2324 pr_err("Unknown register type (%d)\n", register_type);
2325 break; 2325 break;
2326 } 2326 }
2327 2327