staging: comedi: comedi_fops: simplify comedi_is_subdevice_idle()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 27 Mar 2015 15:13:02 +0000 (15:13 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:11:53 +0000 (13:11 +0200)
commit38ee1fd309a629a618c031238c5d681ed4239af4
tree156defdab97546dcdea2c9ef3914f50de7cacac8
parentb183a836fe02a59c2b55273655196ba288f3adb7
staging: comedi: comedi_fops: simplify comedi_is_subdevice_idle()

Don't use a conditional operator when a simple "not" will do.

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