summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@freescale.com>2014-02-04 14:16:03 (GMT)
committerMadalin-Cristian Bucur <madalin.bucur@freescale.com>2014-02-06 17:10:20 (GMT)
commit40da2b9a61a7d519ab5a7593267d9024468b5314 (patch)
tree1527daac7ff1423207071f89aa09651fef24292e
parentb018ec06c1b954a319a714dcbca3ae7c7b56f0d1 (diff)
downloadlinux-fsl-qoriq-40da2b9a61a7d519ab5a7593267d9024468b5314.tar.xz
dpaa_eth: fix checkpatch issue
Small checkpatch issue in mac.c Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> Change-Id: Ie88e3aa7163ccf68954933cf8bf1cbc6e067ce83 Reviewed-on: http://git.am.freescale.net:8181/8558 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com> Reviewed-by: Ruxandra Ioana Radulescu <ruxandra.radulescu@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com> (cherry picked from commit e701dd92c598f656fc342933b6274ec369bc1f61) Reviewed-on: http://git.am.freescale.net:8181/8635
-rw-r--r--drivers/net/ethernet/freescale/dpa/mac.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/mac.c b/drivers/net/ethernet/freescale/dpa/mac.c
index 3e722eb..caa0e37 100644
--- a/drivers/net/ethernet/freescale/dpa/mac.c
+++ b/drivers/net/ethernet/freescale/dpa/mac.c
@@ -321,9 +321,8 @@ static int __cold mac_probe(struct platform_device *_of_dev)
"phy-connection-type", NULL);
if (unlikely(char_prop == NULL)) {
dev_warn(dev,
- "of_get_property(%s, phy-connection-type) "
- "failed. Defaulting to MII\n",
- mac_node->full_name);
+ "of_get_property(%s, phy-connection-type) failed. Defaulting to MII\n",
+ mac_node->full_name);
mac_dev->phy_if = PHY_INTERFACE_MODE_MII;
} else
mac_dev->phy_if = str2phy(char_prop);