19 Jun, 2010

30 commits


18 Jun, 2010

10 commits

  • I fixed indentation in one place and two long lines, a space and a brace
    found by checkpatch.pl and fixed some long lines and whitespace around an =.

    Signed-off-by: Lars Lindley
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Lars Lindley
     
  • The dmm32at.c and comedi_bond.c comedi driver files contain an
    instructional comment block copied over from skel.c about how to format
    a driver comment block. This comment was modified in skel.c by a
    previous patch in this series to stop Comedi's 'dump_doc' script
    treating it as an actual driver comment block. There isn't any need to
    repeat this comment block in the other source files, so rather than
    modify it, this patch just removes it from those files.

    Signed-off-by: Ian Abbott
    Signed-off-by: Greg Kroah-Hartman

    Ian Abbott
     
  • The Comedi team have a script 'dump_doc' to extract text from the driver
    comment block (starting with line 'Driver:') in (most of) the comedi
    driver source files. This was recently updated to allow and strip off a
    " * " prefix at the start of each line (well actually, it uses the perl
    substitution 's/^ ?\* ?//').

    The skel.c file contains an instructional comment block about how to
    format this driver comment block, but the updated 'dump_doc' script
    mistakenly treats this as a valid driver comment block. This patch adds
    some extra whitespace to stop the instructional comment block being
    treated as a valid driver comment block by Comedi's 'dump_doc' script.

    Signed-off-by: Ian Abbott
    Signed-off-by: Greg Kroah-Hartman

    Ian Abbott
     
  • Previous whitespace changes to das08.c removed some whitespace from a
    "driver comment block" that the Comedi team would like to keep. "Header
    continuation lines" in this comment block should be indented with
    whitespace. (This is after the " * " at the start of each line.)

    Signed-off-by: Ian Abbott
    Signed-off-by: Greg Kroah-Hartman

    Ian Abbott
     
  • This is a patch to the quatech_daqp_cs.c file that fixes up the following
    issues:

    ERROR: code indent should use tabs where possible x 1
    WARNING: line over 80 characters x 1
    WARNING: braces {} are not necessary for single statement blocks x 10
    WARNING: printk() should include KERN_ facility level x 6

    Signed-off-by: Gustavo Silva
    Signed-off-by: Greg Kroah-Hartman

    Gustavo Silva
     
  • This is a patch to the pcmda12.c file that fixes up five printk() warning issues

    Signed-off-by: Gustavo Silva
    Signed-off-by: Greg Kroah-Hartman

    Gustavo Silva
     
  • This is a patch to the pcl816.c file that fixes up the following
    issues:

    ERROR: code indent should use tabs where possible x 2
    WARNING: line over 80 characters x 34
    WARNING: please, no space before tabs x 1
    WARNING: braces {} are not necessary for single statement blocks x 6
    WARNING: printk() should include KERN_ facility level x 15
    WARNING: braces {} are not necessary for any arm of this statement x 1

    Signed-off-by: Gustavo Silva
    Signed-off-by: Greg Kroah-Hartman

    Gustavo Silva
     
  • This is a patch to the pcl711.c file that fixes up printk()
    warning issues.

    Signed-off-by: Gustavo Silva
    Signed-off-by: Greg Kroah-Hartman

    Gustavo Silva
     
  • This is a patch to the me4000.c file that fixes up the following
    issues:

    ERROR: space required after that close brace '}' x 13
    ERROR: spaces required around that ':' (ctx:VxV) x 3
    WARNING: line over 80 characters x 96
    WARNING: braces {} are not necessary for any arm of this statement x 2

    Signed-off-by: Gustavo Silva
    Signed-off-by: Greg Kroah-Hartman

    Gustavo Silva
     
  • Remove all remaining typedefs from comedi drivers

    Signed-off-by: Arun Thomas
    Signed-off-by: Greg Kroah-Hartman

    Arun Thomas