Commit 56fdb2e0 authored by Markus Pargmann's avatar Markus Pargmann Committed by David S. Miller

net: cpsw: Replace pr_err by dev_err

Use dev_err instead of pr_err.
Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
Reviewed-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd07d34f
...@@ -1981,7 +1981,7 @@ static int cpsw_probe_dt(struct cpsw_platform_data *data, ...@@ -1981,7 +1981,7 @@ static int cpsw_probe_dt(struct cpsw_platform_data *data,
mdio = of_find_device_by_node(mdio_node); mdio = of_find_device_by_node(mdio_node);
of_node_put(mdio_node); of_node_put(mdio_node);
if (!mdio) { if (!mdio) {
pr_err("Missing mdio platform device\n"); dev_err(&pdev->dev, "Missing mdio platform device\n");
return -EINVAL; return -EINVAL;
} }
snprintf(slave_data->phy_id, sizeof(slave_data->phy_id), snprintf(slave_data->phy_id, sizeof(slave_data->phy_id),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment