diff options
| author | Shantanu Jain <shjain@codeaurora.org> | 2015-08-24 20:39:12 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-01 21:16:17 -0700 |
| commit | 6527a0f4cb48e147f502811bc11d942fd0a346f0 (patch) | |
| tree | 69e33ac83f3b98088012421e6389cfbcbd909882 | |
| parent | 0fdb8c8eae5e5b056157c736ea36a852b0ac2843 (diff) | |
input: it7258_ts_i2c: replace unused variable in driver
Replace an unused variable in the ITE tech touch screen driver.
Change-Id: I49230fb6532ee02f122d5f16dfad8dbd978b368e
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| -rw-r--r-- | drivers/input/touchscreen/it7258_ts_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/it7258_ts_i2c.c b/drivers/input/touchscreen/it7258_ts_i2c.c index 61028e1b1d88..e18fa1f8b76c 100644 --- a/drivers/input/touchscreen/it7258_ts_i2c.c +++ b/drivers/input/touchscreen/it7258_ts_i2c.c @@ -643,7 +643,7 @@ static ssize_t sysfsSleepStore(struct device *dev, { int go_to_sleep, ret; - ret = kstrtoint(buf, 10, &goToSleepVal); + ret = kstrtoint(buf, 10, &go_to_sleep); /* (gl_ts->suspended == true && goToSleepVal > 0) means * device is already suspended and you want it to be in sleep, |
