staging: netlogic: Coding Style Alignment should match open parenthesis
PATCH 1/1 staging: netlogic: Coding Style Alignment should match open parenthesis
Fixed alignment issues with parenthesis so the code is easier to read.
Signed-off-by Benjamin Young <[email protected]>
--- 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
@@ -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
Greg KH
maintainerQuoted 7 lines · Benjamin Young
Fixed alignment issues with parenthesis so the code is easier to read.
Signed-off-by Benjamin Young <[email protected]>--- 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 :(