touchscreen: focaltech: fix coverity warning
authorYingyuan Zhu <yingyuan.zhu@amlogic.com>
Wed, 29 Aug 2018 08:45:39 +0000 (16:45 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 6 Sep 2018 13:57:33 +0000 (06:57 -0700)
commit3d00d913e5c76b16b339ed34709620b5e369176c
treed2207ac3eb07bcbaad715fbef95d3a701bd0bee0
parent04f4e673ca010619397c47f2d2631fb7b1c4633a
touchscreen: focaltech: fix coverity warning

PD#172715: touchscreen: focaltech: fix coverity warning

In the "drivers/amlogic/input/touchscreen/focaltech_touch/
focaltech_core.c" file,the variable "irq_gpio"and
"reset_gpio" is an unsigned integer, they cannot be
compared with 0.
This causes "Unsigned compared against 0.

Change-Id: Ic0ef2043e18550cc6c81867ef73f492d2dc446ec
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
drivers/amlogic/input/touchscreen/focaltech_touch/focaltech_core.h