]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: pcmad: tidy up pcmad_attach()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 5 Jun 2013 22:37:33 +0000 (15:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:01:34 +0000 (12:01 -0700)
commit624b653090974a84f89260b0882286d817a185b4
tree4429d0341e7fe8ad18f092747974f80a313b9df8
parent3275b4d3db1f087c67fa115b150a9d2f9d8429f9
staging: comedi: pcmad: tidy up pcmad_attach()

Remove the comment before the function, the options are documented at
the beginning of the file.

Remove the PCMAD_SIZE define. It's only used in the attach to specify
the io region size.

For aesthetic reasons, add some whitespace to the subdevice init and
reorder them a bit.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcmad.c