touchscreen: goodix_gt1x: fix coverity warning
authorYingyuan Zhu <yingyuan.zhu@amlogic.com>
Wed, 29 Aug 2018 10:44:34 +0000 (18:44 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 5 Sep 2018 15:37:46 +0000 (08:37 -0700)
commit666a493b5e1408eb74496dbb48851a474eec5ac9
tree5b64bc22da7eed5161b83a41b5cf4343f1b6e1af
parenta2ab293b581a057def57aa08e2f720c975d46caa
touchscreen: goodix_gt1x: fix coverity warning

PD#172714: touchscreen: goodix_gt1x: fix coverity warning

The value of "ret" variable is overridden by
the new value before it is used.
This causes "Unused value".

Change-Id: Ie48b58668c4f4077606d69d5bafbd8d59264ae7e
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
drivers/amlogic/input/touchscreen/goodix_gt1x/gt1x.c