commit | a7401cddcdf739d3cb9598c9b3787a732fc87809 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Fri Mar 15 13:15:33 2013 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 15 09:16:31 2013 -0700 |
tree | 1ead776ae018f828a9b4577085aec3d090aa1f03 | |
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>