Staging: comedi: fix space coding style issue in adl_pci9111.c
This is a patch to the adl_pci9111.c file that fixes up multiple please, no space for starting a line warnings, found by the checkpatch.pl tool Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
fbc69d379c
commit
842ec6ba3b
@@ -68,9 +68,9 @@ CHANGELOG:
|
||||
TODO:
|
||||
|
||||
- Really test implemented functionality.
|
||||
- Add support for the PCI-9111DG with a probe routine to identify the card
|
||||
type (perhaps with the help of the channel number readback of the A/D Data
|
||||
register).
|
||||
- Add support for the PCI-9111DG with a probe routine to identify
|
||||
the card type (perhaps with the help of the channel number readback
|
||||
of the A/D Data register).
|
||||
- Add external multiplexer support.
|
||||
|
||||
*/
|
||||
@@ -193,8 +193,8 @@ TODO:
|
||||
outb(flags, PCI9111_IO_BASE+PCI9111_REGISTER_TRIGGER_MODE_CONTROL)
|
||||
|
||||
#define pci9111_interrupt_and_fifo_get() \
|
||||
((inb(PCI9111_IO_BASE+PCI9111_REGISTER_AD_MODE_INTERRUPT_READBACK) >> 4) \
|
||||
&0x03)
|
||||
((inb(PCI9111_IO_BASE+PCI9111_REGISTER_AD_MODE_INTERRUPT_READBACK) \
|
||||
>> 4) & 0x03)
|
||||
|
||||
#define pci9111_interrupt_and_fifo_set(flags) \
|
||||
outb(flags, PCI9111_IO_BASE+PCI9111_REGISTER_INTERRUPT_CONTROL)
|
||||
@@ -267,15 +267,18 @@ TODO:
|
||||
|
||||
#define pci9111_8254_counter_0_set(data) \
|
||||
outb(data & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0); \
|
||||
outb((data >> 8) & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0)
|
||||
outb((data >> 8) & 0xFF, \
|
||||
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0)
|
||||
|
||||
#define pci9111_8254_counter_1_set(data) \
|
||||
outb(data & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1); \
|
||||
outb((data >> 8) & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1)
|
||||
outb((data >> 8) & 0xFF, \
|
||||
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1)
|
||||
|
||||
#define pci9111_8254_counter_2_set(data) \
|
||||
outb(data & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2); \
|
||||
outb((data >> 8) & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2)
|
||||
outb((data >> 8) & 0xFF, \
|
||||
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2)
|
||||
|
||||
/* Function prototypes */
|
||||
|
||||
|
Reference in New Issue
Block a user