diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-23 12:57:38 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-13 14:32:30 -0700 |
| commit | 63d6ba20bab01ea1a92b3fe7718416a8527e009a (patch) | |
| tree | 6715afef0fba17f5acbd41180ee4ea831442bf03 /kernel/sysctl_binary.c | |
| parent | 9548b735df211550f390d9dcecf9ea0bfc8a585e (diff) | |
staging: comedi: ni_labpc: cleanup true/false flags in boardinfo
The 'register_layout' in the boardinfo can be represented as
a true/false flag instead of an enum. Rename the variable to
'is_labpc1200' and change it to an unsigned 1-bit bit-field.
The 'has_ao' variable is also a true/false flag. Change it to
an unsigned 1-bit bit-field.
Reorder the boardinfo data so that the bit-field data is grouped
together.
For aesthetic reasons, and move the 'const' variables then
reorder the boardinfo declarations to match the definition.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
