staging/comedi: Use && instead of & for logical comparision
authorPeter Huewe <peterhuewe@gmx.de>
Thu, 14 Feb 2013 21:27:06 +0000 (22:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2013 18:20:14 +0000 (10:20 -0800)
commit8289ad0578ad7e66b2052754746b4deb1a88cc4a
treeaa357b84ee76f9204844c1fec411d7bde0a3f23d
parentf06a23c93b900c37ef14858868c00dc8f061fa22
staging/comedi: Use && instead of & for logical comparision

sparse complains that:
drivers/staging/comedi/drivers/adl_pci9118.c:813 pci9118_calc_divisors()
warn: maybe use && instead of &

usessh is used as a boolean flag (0 and 1) and is compared to a boolean
value so we should use && here.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c