staging: comedi: pcl816: if test should use logical OR not bitwise OR
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 8 Jun 2012 00:25:35 +0000 (17:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jun 2012 23:58:57 +0000 (16:58 -0700)
commite26d925f42064a800c1226e15dbaa23da1721fb7
treedca6ae8201998a008419c5b39a304375eec792c7
parent0bdf8ec0a57e5c4f90f4d6e83938f24653360d84
staging: comedi: pcl816: if test should use logical OR not bitwise OR

This quiets a couple sparse warnings about:

warning: dubious: !x | !y
warning: dubious: x | !y

Also, remove the unnecessary parentheses abound the variables.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl816.c