]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: pcl724: tidy up the boardinfo struct definition
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 10 Jun 2013 17:15:28 +0000 (10:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2013 00:16:45 +0000 (17:16 -0700)
commit0a0c2cb96b51c88d5a7c28ea8b1614cf421b8ae1
treee0ffa2de5795bc3b6aac7c7015bec60c17cdf9fd
parent0d4dd7d61bc1c06151ad79e246a91c158784a2c2
staging: comedi: pcl724: tidy up the boardinfo struct definition

Remove the unnecessary comments and reorder the variables a bit.

Change the 'is_*' and 'can_*' flags to bit fields.

Remove the '*_SIZE' defines and open code the values.

Reorder the boardinfo declaration to follow the definition.

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