diff options
author | George Cherian <george.cherian@ti.com> | 2014-05-12 10:21:20 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-15 13:42:14 -0400 |
commit | a92f40a9a30e57f0ebd5dc38b427ea0d3b6c5b7b (patch) | |
tree | 395a71c7aa9005af5b2bfd1845a8cb384fe7b14d | |
parent | 88c99ff639aee9a5c37b796340a8fc9973bf86cb (diff) |
net: davinci_mdio: Convert pr_err() to dev_err() call
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>
-rw-r--r-- | drivers/net/ethernet/ti/davinci_mdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c index 34e97eca561..735dc53d4b0 100644 --- a/drivers/net/ethernet/ti/davinci_mdio.c +++ b/drivers/net/ethernet/ti/davinci_mdio.c @@ -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; |