input: touchscreen: mxs-lradc: || vs && typos
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 26 Apr 2017 21:04:31 +0000 (00:04 +0300)
committerLee Jones <lee.jones@linaro.org>
Thu, 27 Apr 2017 10:54:50 +0000 (11:54 +0100)
commitab6241ae07c3c698543b565e4ea41995a29a3f62
tree3ba95ec19445e58b3e83659b62672ff1e895d1e1
parentd096ae4bb0fa3116fdd4941c65fc577f76ad453c
input: touchscreen: mxs-lradc: || vs && typos

These tests are meaningless as is because "adapt" can't possibly be both
less than 1 and greater than 32.

Fixes: d81ca730e3e4 ("input: touchscreen: mxs-lradc: Add support for touchscreen")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/input/touchscreen/mxs-lradc-ts.c