]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: make 'in_request_module' a bool bit-field
authorIan Abbott <abbotti@mev.co.uk>
Fri, 15 Mar 2013 13:15:34 +0000 (13:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 16:16:31 +0000 (09:16 -0700)
commit13f12b5aea501bce146cdf213d1819083aadc847
tree78e645fcfcbcec587767c083faf1fae04f97364c
parenta7401cddcdf739d3cb9598c9b3787a732fc87809
staging: comedi: make 'in_request_module' a bool bit-field

Change the `in_request_module` member of `struct comedi_device` to a
1-bit bit-field of type `bool` and move it into a suitable hole in the
data type to save a few bytes.  Change the assigned values to `true` and
`false`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c
drivers/staging/comedi/comedidev.h