[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1399870281-27200-3-git-send-email-george.cherian@ti.com>
Date: Mon, 12 May 2014 10:21:20 +0530
From: George Cherian <george.cherian@...com>
To: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
CC: <mugunthanvnm@...com>, <davem@...emloft.net>, <balbi@...com>,
<zonque@...il.com>, <mpa@...gutronix.de>, <tklauser@...tanz.ch>,
George Cherian <george.cherian@...com>
Subject: [PATCH v3 2/3] 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@...com>
Reviewed-by: Felipe Balbi <balbi@...com>
---
drivers/net/ethernet/ti/davinci_mdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c
index 34e97ec..735dc53 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;
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists