summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-02 06:42:42 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-02 06:42:42 -0700
commit23acf7200526bb60d647c22a7eb95b69094e49bc (patch)
treecba66de34fb3f78ca70361a8f837a13c05177efb /drivers/input
parent0747b59e119c3d1217462ee490984f8808732398 (diff)
parent6527a0f4cb48e147f502811bc11d942fd0a346f0 (diff)
Merge "input: it7258_ts_i2c: replace unused variable in driver"
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/it7258_ts_i2c.c2
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 82bb32422f9e..eb0ff71f72d4 100644
--- a/drivers/input/touchscreen/it7258_ts_i2c.c
+++ b/drivers/input/touchscreen/it7258_ts_i2c.c
@@ -853,7 +853,7 @@ static ssize_t sysfs_sleep_store(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,