projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd07d34
)
net: cpsw: Replace pr_err by dev_err
author
Markus Pargmann
<mpa@pengutronix.de>
Mon, 29 Sep 2014 06:53:16 +0000
(08:53 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 30 Sep 2014 05:30:43 +0000
(
01:30
-0400)
Use dev_err instead of pr_err.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/ti/cpsw.c
b/drivers/net/ethernet/ti/cpsw.c
index 187c6ef548853f3b0e152269fa0d905aaccec6b5..d2988aeb6682c30f751271bc1a1b3623ad5bed24 100644
(file)
--- 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),