diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2013-03-15 13:15:33 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-15 09:16:31 -0700 |
| commit | a7401cddcdf739d3cb9598c9b3787a732fc87809 (patch) | |
| tree | 1ead776ae018f828a9b4577085aec3d090aa1f03 /include/linux/flex_array.h | |
| parent | 8bdfefb7849c563e05aa60a4649cf4d0987b97b4 (diff) | |
staging: comedi: make 'dev->attached' a bool bit-field
Change the `attached` member of `struct comedi_device` to a 1-bit
bit-field of type `bool`. Change assigned values to `true` and `false`
and replace or remove comparison operations with simple boolean tests.
We'll put some extra bit-fields in the gap later to save space.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
