Commit a7dd3219b915577e12612ac5d269e1bd22c6fb65
Committed by
David S. Miller
1 parent
efab79c5c3
Exists in
master
and in
6 other branches
net/fec: misc cleanups
- remove some bogus whitespace - remove line wraps from printk messages Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 8 additions and 6 deletions Side-by-side Diff
drivers/net/ethernet/freescale/fec.c
... | ... | @@ -99,7 +99,7 @@ |
99 | 99 | MODULE_DEVICE_TABLE(platform, fec_devtype); |
100 | 100 | |
101 | 101 | enum imx_fec_type { |
102 | - IMX25_FEC = 1, /* runs on i.mx25/50/53 */ | |
102 | + IMX25_FEC = 1, /* runs on i.mx25/50/53 */ | |
103 | 103 | IMX27_FEC, /* runs on i.mx27/35/51 */ |
104 | 104 | IMX28_FEC, |
105 | 105 | IMX6Q_FEC, |
... | ... | @@ -132,7 +132,7 @@ |
132 | 132 | #elif defined (CONFIG_M5272C3) |
133 | 133 | #define FEC_FLASHMAC (0xffe04000 + 4) |
134 | 134 | #elif defined(CONFIG_MOD5272) |
135 | -#define FEC_FLASHMAC 0xffc0406b | |
135 | +#define FEC_FLASHMAC 0xffc0406b | |
136 | 136 | #else |
137 | 137 | #define FEC_FLASHMAC 0 |
138 | 138 | #endif |
... | ... | @@ -972,8 +972,9 @@ |
972 | 972 | } |
973 | 973 | |
974 | 974 | if (phy_id >= PHY_MAX_ADDR) { |
975 | - printk(KERN_INFO "%s: no PHY, assuming direct connection " | |
976 | - "to switch\n", ndev->name); | |
975 | + printk(KERN_INFO | |
976 | + "%s: no PHY, assuming direct connection to switch\n", | |
977 | + ndev->name); | |
977 | 978 | strncpy(mdio_bus_id, "0", MII_BUS_ID_SIZE); |
978 | 979 | phy_id = 0; |
979 | 980 | } |
... | ... | @@ -998,8 +999,9 @@ |
998 | 999 | fep->link = 0; |
999 | 1000 | fep->full_duplex = 0; |
1000 | 1001 | |
1001 | - printk(KERN_INFO "%s: Freescale FEC PHY driver [%s] " | |
1002 | - "(mii_bus:phy_addr=%s, irq=%d)\n", ndev->name, | |
1002 | + printk(KERN_INFO | |
1003 | + "%s: Freescale FEC PHY driver [%s] (mii_bus:phy_addr=%s, irq=%d)\n", | |
1004 | + ndev->name, | |
1003 | 1005 | fep->phy_dev->drv->name, dev_name(&fep->phy_dev->dev), |
1004 | 1006 | fep->phy_dev->irq); |
1005 | 1007 |