forked from Minki/linux
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 6329da5f25
("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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c6c60dae81
commit
7b2024fdec
@ -321,10 +321,10 @@ static int w83977af_probe(int iobase, int irq, int dma)
|
||||
#else
|
||||
w977_write_reg(0x74, dma, efbase[i]);
|
||||
#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 */
|
||||
w977_write_reg(0xf0, APEDCRC|ENBNKSEL, efbase[i]);
|
||||
w977_write_reg(0xf0, APEDCRC | ENBNKSEL, efbase[i]);
|
||||
|
||||
/* Activate device */
|
||||
w977_write_reg(0x30, 0x01, efbase[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user