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>
This commit is contained in:
parent
88c99ff639
commit
a92f40a9a3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue