staging: comedi: change bool assignment to true
This is a minor fix that was suggested by coccinelle. When defined as a bool, a variable should use true/false rather than 1/0. Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com> Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4b5c08e85d
commit
42a5a418b2
@ -513,7 +513,7 @@ static int dio200_subdev_intr_cmd(struct comedi_device *dev,
|
||||
int event = 0;
|
||||
|
||||
spin_lock_irqsave(&subpriv->spinlock, flags);
|
||||
subpriv->active = 1;
|
||||
subpriv->active = true;
|
||||
|
||||
/* Set up end of acquisition. */
|
||||
switch (cmd->stop_src) {
|
||||
|
Loading…
Reference in New Issue
Block a user