various whitespace cleanups
Subsystems (5)
PATCH 1/1 various whitespace cleanups
Hi,
please use 'let c_space_errors=1' in vim to see what this patch fixes. While there, remove initilizers from variables which are by default initialized to zero (to respect linux policy). No code changes.
arch/arm/mach-omap1/clock.c +1 -1
@@ -345,7 +345,7 @@ static unsigned calc_ext_dsor(unsigned l*/ for (dsor =2 ; dsor <96 ; ++dsor) {if ((dsor &1 ) && dsor >8 ) -continue ; +continue ;if (rate >=96000000 / dsor)break ; }
arch/arm/mach-omap1/irq.c +9 -9
@@ -60,7 +60,7 @@ struct omap_irq_bank {unsigned long wake_enable; }; -static unsigned int irq_bank_count =0 ; +static unsigned int irq_bank_count;static struct omap_irq_bank *irq_banks;static inline unsigned int irq_bank_readl (int bank,int offset)
@@ -142,28 +142,28 @@ static void omap_irq_set_cfg(int irq, in#ifdef CONFIG_ARCH_OMAP730 static struct omap_irq_bank omap730_irq_banks[] = { - { .base_reg =OMAP_IH1_BASE , .trigger_map =0xb3f8e22f }, - { .base_reg =OMAP_IH2_BASE , .trigger_map =0xfdb9c1f2 }, + { .base_reg =OMAP_IH1_BASE , .trigger_map =0xb3f8e22f }, + { .base_reg =OMAP_IH2_BASE , .trigger_map =0xfdb9c1f2 }, { .base_reg =OMAP_IH2_BASE +0x100 , .trigger_map =0x800040f3 }, };#endif #ifdef CONFIG_ARCH_OMAP15XX static struct omap_irq_bank omap1510_irq_banks[] = { - { .base_reg =OMAP_IH1_BASE , .trigger_map =0xb3febfff }, - { .base_reg =OMAP_IH2_BASE , .trigger_map =0xffbfffed }, + { .base_reg =OMAP_IH1_BASE , .trigger_map =0xb3febfff }, + { .base_reg =OMAP_IH2_BASE , .trigger_map =0xffbfffed }, };static struct omap_irq_bank omap310_irq_banks[] = { - { .base_reg =OMAP_IH1_BASE , .trigger_map =0xb3faefc3 }, - { .base_reg =OMAP_IH2_BASE , .trigger_map =0x65b3c061 }, + { .base_reg =OMAP_IH1_BASE , .trigger_map =0xb3faefc3 }, + { .base_reg =OMAP_IH2_BASE , .trigger_map =0x65b3c061 }, };#endif #if defined(CONFIG_ARCH_OMAP16XX )static struct omap_irq_bank omap1610_irq_banks[] = { - { .base_reg =OMAP_IH1_BASE , .trigger_map =0xb3fefe8f }, - { .base_reg =OMAP_IH2_BASE , .trigger_map =0xfdb7c1fd }, + { .base_reg =OMAP_IH1_BASE , .trigger_map =0xb3fefe8f }, + { .base_reg =OMAP_IH2_BASE , .trigger_map =0xfdb7c1fd }, { .base_reg =OMAP_IH2_BASE +0x100 , .trigger_map =0xffffb7ff }, { .base_reg =OMAP_IH2_BASE +0x200 , .trigger_map =0xffffffff }, };
arch/arm/mach-omap1/mux.c +3 -3
@@ -77,8 +77,8 @@ MUX_CFG("UART3_BCLK", A, 0, 0,MUX_CFG ("Y15_1610_UART3_RTS" ,A ,0 ,1 ,2 ,6 ,0 ,NA ,0 ,0 ) /* PWT & PWL, conflicts with UART3 */ -MUX_CFG("PWT", 6, 0, 2, 0, 30, 0, NA, 0, 0) -MUX_CFG ("PWL" ,6 ,3 ,1 ,0 ,31 ,1 ,NA ,0 ,0 ) +MUX_CFG("PWT", 6, 0, 2, 0, 30, 0, NA, 0, 0) +MUX_CFG ("PWL" ,6 ,3 ,1 ,0 ,31 ,1 ,NA ,0 ,0 ) /* USB internal master generic */MUX_CFG ("R18_USB_VBUS" ,7 ,9 ,2 ,1 ,11 ,0 ,NA ,0 ,1 )
@@ -155,7 +155,7 @@ MUX_CFG("MCBSP3_CLKX", 9, 3, 1,/* Misc ballouts */ MUX_CFG("BALLOUT_V8_ARMIO3", B, 18, 0, 2, 25, 1, NA, 0, 1) -MUX_CFG ("N20_HDQ" ,6 ,18 ,1 ,1 ,4 ,0 ,1 ,4 ,0 ) +MUX_CFG ("N20_HDQ" ,6 ,18 ,1 ,1 ,4 ,0 ,1 ,4 ,0 ) /* OMAP-1610 MMC2 */MUX_CFG ("W8_1610_MMC2_DAT0" ,B ,21 ,6 ,2 ,23 ,1 ,2 ,1 ,1 )
arch/arm/mach-omap1/pm.c +25 -25
85 lines not on this page · raw message
arch/arm/mach-omap1/serial.c +3 -3
@@ -30,9 +30,9 @@#include <asm/arch/pm.h> #endif -static struct clk * uart1_ck =NULL ; -static struct clk * uart2_ck =NULL ; -static struct clk * uart3_ck =NULL ; +static struct clk * uart1_ck; +static struct clk * uart2_ck; +static struct clk * uart3_ck;static inline unsigned int omap_serial_in (struct plat_serial8250_port *up,int offset)
Tony Lindgren
reviewerQuoted 5 lines · Ladislav Michl
Hi,
please use 'let c_space_errors=1' in vim to see what this patch fixes. While there, remove initilizers from variables which are by default initialized to zero (to respect linux policy). No code changes.
Thanks, pushing today.
Tony