Skip to content

Commit

Permalink
net: sh-eth: Use pr_err instead of printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nobuhiro Iwamatsu authored and David S. Miller committed Mar 21, 2013
1 parent 4021db9 commit 14c3326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/renesas/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ static int sh_eth_check_reset(struct net_device *ndev)
cnt--;
}
if (cnt < 0) {
printk(KERN_ERR "Device reset fail\n");
pr_err("Device reset fail\n");
ret = -ETIMEDOUT;
}
return ret;
Expand Down Expand Up @@ -2321,7 +2321,7 @@ static const u16 *sh_eth_get_register_offset(int register_type)
reg_offset = sh_eth_offset_fast_sh3_sh2;
break;
default:
printk(KERN_ERR "Unknown register type (%d)\n", register_type);
pr_err("Unknown register type (%d)\n", register_type);
break;
}

Expand Down

0 comments on commit 14c3326

Please sign in to comment.