On 28/12/14 18:56, Andreas Siegling wrote:
This patch fixes all occurrences of 8 whitespaces instead of a tab.
It will remove the 8 whitespaces and replace them with a tab, thereby
the checkpatch-error:
                ERROR: code indent should use tabs where possible
is removed from all files in drivers/staging/comedi/
It also brings some consistency of indentation in the comments.

Signed-off-by: Andreas Siegling <andreas.siegl...@fau.de>
Signed-off-by: Zhutao Lu <lvzhu...@gmail.com>
---
  drivers/staging/comedi/drivers/daqboard2000.c | 62 +++++++++++++--------------
  drivers/staging/comedi/drivers/das16m1.c      |  4 +-
  drivers/staging/comedi/drivers/dmm32at.c      |  2 +-
  drivers/staging/comedi/drivers/pcl818.c       | 36 ++++++++--------
  4 files changed, 52 insertions(+), 52 deletions(-)

Most of these aren't worth doing as they only affect multi-line comments that should be reformatted to the usual block comment style anyway.


diff --git a/drivers/staging/comedi/drivers/dmm32at.c 
b/drivers/staging/comedi/drivers/dmm32at.c
index 6df298a..31919b8 100644
--- a/drivers/staging/comedi/drivers/dmm32at.c
+++ b/drivers/staging/comedi/drivers/dmm32at.c
@@ -365,7 +365,7 @@ static void dmm32at_setaitimer(struct comedi_device *dev, 
unsigned int nansec)
        /* enable the ai conversion interrupt and the clock to start scans */
        outb(DMM32AT_INTCLK_ADINT |
             DMM32AT_INTCLK_CLKEN | DMM32AT_INTCLK_CLKSEL,
-             dev->iobase + DMM32AT_INTCLK_REG);
+            dev->iobase + DMM32AT_INTCLK_REG);
  }


That bit of the patch is fine, but has already been tackled in a patch by David Decotigny.

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbo...@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to