diff options
author | Chase Southwood <chase.southwood@yahoo.com> | 2014-01-10 23:02:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-13 18:04:52 -0500 |
commit | b9ede3154a4342434c155a7e4daa3915fc9769b1 (patch) | |
tree | 8c438c3e03afb0a7c5a71dd27167fe7e7bd6c760 | |
parent | bc4615561fc3df0826ac9a93876770cdbf673a80 (diff) |
Staging: comedi: fix indentation coding style issue in ni_mio_common.c.
This patch for ni_mio_common.c fixes several indentation warnings from
checkpatch.pl.
Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/ni_mio_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/comedi/drivers/ni_mio_common.c index 116174a14ade..95f4e3715134 100644 --- a/drivers/staging/comedi/drivers/ni_mio_common.c +++ b/drivers/staging/comedi/drivers/ni_mio_common.c | |||
@@ -3652,15 +3652,15 @@ static void handle_cdio_interrupt(struct comedi_device *dev) | |||
3652 | 3652 | ||
3653 | cdio_status = ni_readl(M_Offset_CDIO_Status); | 3653 | cdio_status = ni_readl(M_Offset_CDIO_Status); |
3654 | if (cdio_status & (CDO_Overrun_Bit | CDO_Underflow_Bit)) { | 3654 | if (cdio_status & (CDO_Overrun_Bit | CDO_Underflow_Bit)) { |
3655 | /* printk("cdio error: statux=0x%x\n", cdio_status); */ | 3655 | /* printk("cdio error: statux=0x%x\n", cdio_status); */ |
3656 | ni_writel(CDO_Error_Interrupt_Confirm_Bit, M_Offset_CDIO_Command); /* XXX just guessing this is needed and does something useful */ | 3656 | ni_writel(CDO_Error_Interrupt_Confirm_Bit, M_Offset_CDIO_Command); /* XXX just guessing this is needed and does something useful */ |
3657 | s->async->events |= COMEDI_CB_OVERFLOW; | 3657 | s->async->events |= COMEDI_CB_OVERFLOW; |
3658 | } | 3658 | } |
3659 | if (cdio_status & CDO_FIFO_Empty_Bit) { | 3659 | if (cdio_status & CDO_FIFO_Empty_Bit) { |
3660 | /* printk("cdio fifo empty\n"); */ | 3660 | /* printk("cdio fifo empty\n"); */ |
3661 | ni_writel(CDO_Empty_FIFO_Interrupt_Enable_Clear_Bit, | 3661 | ni_writel(CDO_Empty_FIFO_Interrupt_Enable_Clear_Bit, |
3662 | M_Offset_CDIO_Command); | 3662 | M_Offset_CDIO_Command); |
3663 | /* s->async->events |= COMEDI_CB_EOA; */ | 3663 | /* s->async->events |= COMEDI_CB_EOA; */ |
3664 | } | 3664 | } |
3665 | ni_event(dev, s); | 3665 | ni_event(dev, s); |
3666 | } | 3666 | } |
@@ -3845,7 +3845,7 @@ static int ni_serial_sw_readwrite8(struct comedi_device *dev, | |||
3845 | /* Input current bit */ | 3845 | /* Input current bit */ |
3846 | if (devpriv->stc_readw(dev, | 3846 | if (devpriv->stc_readw(dev, |
3847 | DIO_Parallel_Input_Register) & DIO_SDIN) { | 3847 | DIO_Parallel_Input_Register) & DIO_SDIN) { |
3848 | /* printk("DIO_P_I_R: 0x%x\n", devpriv->stc_readw(dev, DIO_Parallel_Input_Register)); */ | 3848 | /* printk("DIO_P_I_R: 0x%x\n", devpriv->stc_readw(dev, DIO_Parallel_Input_Register)); */ |
3849 | input |= mask; | 3849 | input |= mask; |
3850 | } | 3850 | } |
3851 | } | 3851 | } |