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>
struct fts_ts_platform_data
{
- u32 irq_gpio;
+ s32 irq_gpio;
u32 irq_gpio_flags;
- u32 reset_gpio;
+ s32 reset_gpio;
u32 reset_gpio_flags;
bool have_key;
u32 key_number;