diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-09-29 08:53:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-30 01:30:43 -0400 |
commit | 56fdb2e04697c06b0af421cece0f360087af9cd1 (patch) | |
tree | 8df4d3c01bb0ba316d38fcbcdf26cb92fc5bc371 /drivers/net/ethernet/ti | |
parent | bd07d34f00dfe5025faab0263554e3052ce5d58e (diff) | |
download | talos-obmc-linux-56fdb2e04697c06b0af421cece0f360087af9cd1.tar.gz talos-obmc-linux-56fdb2e04697c06b0af421cece0f360087af9cd1.zip |
net: cpsw: Replace pr_err by dev_err
Use dev_err instead of pr_err.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 187c6ef54885..d2988aeb6682 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -1981,7 +1981,7 @@ static int cpsw_probe_dt(struct cpsw_platform_data *data, mdio = of_find_device_by_node(mdio_node); of_node_put(mdio_node); if (!mdio) { - pr_err("Missing mdio platform device\n"); + dev_err(&pdev->dev, "Missing mdio platform device\n"); return -EINVAL; } snprintf(slave_data->phy_id, sizeof(slave_data->phy_id), |