]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: acl7225b: cleanup boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 8 Apr 2013 21:29:02 +0000 (14:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2013 23:19:42 +0000 (16:19 -0700)
commit80d1c22d6a4b0b92f532a111ad54343bb4f1a255
tree5fdbba7c7c706c80c09e777fe8d04d89e5bd5b3c
parentf3750fbb3d4acec5539db09e33bb020c1e4782db
staging: comedi: acl7225b: cleanup boardinfo

For aesthetic reasons, move the boardinfo table near the struct
definition. Remove the unnecessary comments in the struct definition.
Reformat the boardinfo in C99 format and add some whitespace to
help readability.

Rename the boardinfo struct and the boardinfo table so they have
namespace associated with the driver.

Remove the ACL7225_SIZE and P16R16DIO_SIZE defines. They are only
used in the boardinfo table and the open-coded values provide the
information more clearly.

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/acl7225b.c