From 2bbf23315907251bb67fbd56fc340ab8b45dc370 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Mon, 3 Jun 2013 14:37:09 -0700 Subject: [PATCH] staging: comedi: ni_daq_700: fix some trailing whitespace errors checkpatch.pl reports 2 errors about trailing whitespace in this file. Fix them. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_daq_700.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_daq_700.c b/drivers/staging/comedi/drivers/ni_daq_700.c index abec03f21502..3c50e31ecc60 100644 --- a/drivers/staging/comedi/drivers/ni_daq_700.c +++ b/drivers/staging/comedi/drivers/ni_daq_700.c @@ -35,7 +35,7 @@ port, bit 0; channel 8 corresponds to the input port, bit 0. Digital direction configuration: channels 0-7 output, 8-15 input (8225 device emu as port A output, port B input, port C N/A). -Analog: The input range is 0 to 4095 for -10 to +10 volts +Analog: The input range is 0 to 4095 for -10 to +10 volts IRQ is assigned but not used. Version 0.1 Original DIO only driver @@ -178,7 +178,7 @@ static int daq700_ai_rinsn(struct comedi_device *dev, */ static void daq700_ai_config(struct comedi_device *dev, struct comedi_subdevice *s) -{ +{ unsigned long iobase = dev->iobase; outb(0x80, iobase + CMD_R1); /* disable scanning, ADC to chan 0 */ -- 2.20.1