]> git.baikalelectronics.ru Git - kernel.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)
commit29785a3c31d71415bd9e15569e4b7a74d2d31392
tree78e645fcfcbcec587767c083faf1fae04f97364c
parentd37c4a08425c78e86cbee88ce84502ebe3f9e888
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