net: davinci_mdio: Convert pr_err() to dev_err() call
authorGeorge Cherian <george.cherian@ti.com>
Mon, 12 May 2014 04:51:20 +0000 (10:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2014 17:42:14 +0000 (13:42 -0400)
Convert the lone pr_err() to dev_err() call.

Signed-off-by: George Cherian <george.cherian@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_mdio.c

index 34e97eca561c273030a0b5e8d7473dd3e4276798..735dc53d4b0163be05eec83c83a4fb8bb4612497 100644 (file)
@@ -303,7 +303,7 @@ static int davinci_mdio_probe_dt(struct mdio_platform_data *data,
                return -EINVAL;
 
        if (of_property_read_u32(node, "bus_freq", &prop)) {
-               pr_err("Missing bus_freq property in the DT.\n");
+               dev_err(&pdev->dev, "Missing bus_freq property in the DT.\n");
                return -EINVAL;
        }
        data->bus_freq = prop;