From: Markus Pargmann Date: Mon, 29 Sep 2014 06:53:16 +0000 (+0200) Subject: net: cpsw: Replace pr_err by dev_err X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=56fdb2e04697c06b0af421cece0f360087af9cd1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git net: cpsw: Replace pr_err by dev_err Use dev_err instead of pr_err. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Signed-off-by: David S. Miller --- 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),