staging: comedi: das16: change type of private data 'timer_running'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 26 Jan 2015 23:17:18 +0000 (16:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jan 2015 19:14:04 +0000 (11:14 -0800)
This member of the private data is a true/false flag. For aesthetics,
change the type to an unsigned int bit-field to save a bit of space.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das16.c

index 5ad4c38..81fa28d 100644 (file)
@@ -444,9 +444,9 @@ struct das16_private_struct {
        unsigned int            divisor1;
        unsigned int            divisor2;
        struct timer_list       timer;
-       short                   timer_running;
        unsigned long           extra_iobase;
        unsigned int            can_burst:1;
+       unsigned int            timer_running:1;
 };
 
 static void das16_interrupt(struct comedi_device *dev)