Skip to content

Commit

Permalink
net: davinci_mdio: Convert pr_err() to dev_err() call
Browse files Browse the repository at this point in the history
Convert the lone pr_err() to dev_err() call.

Signed-off-by: George Cherian <[email protected]>
Reviewed-by: Felipe Balbi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
georgecherian authored and davem330 committed May 15, 2014
1 parent 88c99ff commit a92f40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/ti/davinci_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a92f40a

Please sign in to comment.