Commit 7b2024fd authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller

irda: w83977af_ir: fix damaged whitespace

As David Miller pointed out for for the previous patch, the whitespace
in some functions looks rather odd. This was caused by commit 6329da5f
("obsolete config in kernel source: USE_INTERNAL_TIMER"), which removed
some conditions but did not reindent the code.

This fixes the indentation in the file and removes extraneous whitespace
at the end of the lines and before tabs.

There are many other minor coding style problems in the driver, but I'm
not touching those here.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c6c60dae
...@@ -321,10 +321,10 @@ static int w83977af_probe(int iobase, int irq, int dma) ...@@ -321,10 +321,10 @@ static int w83977af_probe(int iobase, int irq, int dma)
#else #else
w977_write_reg(0x74, dma, efbase[i]); w977_write_reg(0x74, dma, efbase[i]);
#endif /* CONFIG_ARCH_NETWINDER */ #endif /* CONFIG_ARCH_NETWINDER */
w977_write_reg(0x75, 0x04, efbase[i]); /* Disable Tx DMA */ w977_write_reg(0x75, 0x04, efbase[i]);/* Disable Tx DMA */
/* Set append hardware CRC, enable IR bank selection */ /* Set append hardware CRC, enable IR bank selection */
w977_write_reg(0xf0, APEDCRC|ENBNKSEL, efbase[i]); w977_write_reg(0xf0, APEDCRC | ENBNKSEL, efbase[i]);
/* Activate device */ /* Activate device */
w977_write_reg(0x30, 0x01, efbase[i]); w977_write_reg(0x30, 0x01, efbase[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment