OSDN Git Service

input: touchscreen: correct condition checks in ITE tech touch driver
authorShantanu Jain <shjain@codeaurora.org>
Fri, 22 Jan 2016 11:39:27 +0000 (17:09 +0530)
committerAbinaya P <abinayap@codeaurora.org>
Fri, 5 Aug 2016 14:56:29 +0000 (20:26 +0530)
commitfdcb967e7ebd5d37e9a2601ae101ce3352d2ee60
tree9850e5da6c5ff0cff8501df3a395fdddac341dc0
parent28181fbc4c585466a0eaebe95d7506f1b57029b7
input: touchscreen: correct condition checks in ITE tech touch driver

Correct the return value check of kstrtoint function.
Also correct the platform_data parsing check in ITE tech
touch driver.

This is a propagated patch from 3.18 kernel
'commit 9a1496537aeb ("input: touchscreen: correct condition checks
in ITE tech touch driver")'

Change-Id: I792c043ca4d85e236c209605e80392a05d26b983
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
drivers/input/touchscreen/it7258_ts_i2c.c