staging: comedi: make ni_tio_has_gate2_registers return boolean
authorGeliang Tang <geliangtang@163.com>
Sun, 18 Oct 2015 14:35:30 +0000 (22:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:14:25 +0000 (19:14 -0700)
commitabfe2196e03d7026776a0bfb94f93ae1227b23d0
tree65661bfed65a0924589d3d5e9910d50c8b7aa5fc
parentc1ccdddc2e60e73011d0a5e2f06913be84b8bafb
staging: comedi: make ni_tio_has_gate2_registers return boolean

This patch makes ni_tio_has_gate2_registers return boolean, since
this function only uses either one or zero as its return value.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_tio.c