Skip to contentSkip to conversation

staging: netlogic: Coding Style Alignment should match open parenthesis

PATCH In review Benjamin Young 2 participants 2 messages Dec 13, 2015 – Feb 8, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: netlogic: Coding Style Alignment should match open parenthesis

Fixed alignment issues with parenthesis so the code is easier to read.

---
 drivers/staging/netlogic/platform_net.c |  12 +--
 drivers/staging/netlogic/xlr_net.c      | 159 +++++++++++++++++---------------
 2 files changed, 91 insertions(+), 80 deletions(-)
drivers/staging/netlogic/platform_net.c +6 -6
index 7806c2b..f71e42a 100644
@@ -121,8 +121,8 @@ static struct platform_device *gmac_controller2_init(void *gmac0_addr)
 		ndata1.phy_addr[mac] = mac + 4 + 0x10;
 
 		xlr_resource_init(&xlr_net1_res[mac * 2],
-				xlr_gmac_offsets[mac + 4],
-				xlr_gmac_irqs[mac + 4]);
+				  xlr_gmac_offsets[mac + 4],
+				  xlr_gmac_irqs[mac + 4]);
 	}
 	xlr_net_dev1.num_resources = 8;
 
@@ -169,7 +169,7 @@ static void xls_gmac_init(void)
 		xlr_net_dev0.num_resources = 2;
 
 		xlr_resource_init(&xlr_net0_res[0], xlr_gmac_offsets[0],
-				xlr_gmac_irqs[0]);
+				  xlr_gmac_irqs[0]);
 		platform_device_register(&xlr_net_dev0);
 
 		/* second block is XAUI, not supported yet */
@@ -182,8 +182,8 @@ static void xls_gmac_init(void)
 			ndata0.phy_addr[mac] = mac + 0x10;
 
 			xlr_resource_init(&xlr_net0_res[mac * 2],
-					xlr_gmac_offsets[mac],
-					xlr_gmac_irqs[mac]);
+					  xlr_gmac_offsets[mac],
+					  xlr_gmac_irqs[mac]);
 		}
 		xlr_net_dev0.num_resources = 8;
 		platform_device_register(&xlr_net_dev0);
@@ -223,7 +223,7 @@ static void xlr_gmac_init(void)
 		ndata0.tx_stnid[mac] = FMN_STNID_GMAC0_TX0 + mac;
 		ndata0.phy_addr[mac] = mac;
 		xlr_resource_init(&xlr_net0_res[mac * 2], xlr_gmac_offsets[mac],
-				xlr_gmac_irqs[mac]);
+				  xlr_gmac_irqs[mac]);
 	}
 	xlr_net_dev0.num_resources = 8;
 	xlr_net_dev0.resource = xlr_net0_res;
drivers/staging/netlogic/xlr_net.c +85 -74

382 lines not on this page · raw message

Signature · 1 line
2.5.0
maintainer
#1 lore raw
Quoted 7 lines · Benjamin Young

Fixed alignment issues with parenthesis so the code is easier to read.

---
 drivers/staging/netlogic/platform_net.c |  12 +--
 drivers/staging/netlogic/xlr_net.c      | 159 +++++++++++++++++---------------
 2 files changed, 91 insertions(+), 80 deletions(-)

Also does not apply :(