Input: ti_am335x_tsc - remove set but not used variable 'tscadc_dev'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 18 Feb 2019 20:17:39 +0000 (12:17 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Feb 2019 18:38:19 +0000 (10:38 -0800)
commit44466306ebecc73c68835f5fe27d119591a1ab5c
tree0dbf5e6f37c253be8514f05c6a939b22bac3c3fe
parent0b8f452c9698d48aa92de17294032fac03d47229
Input: ti_am335x_tsc - remove set but not used variable 'tscadc_dev'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/input/touchscreen/ti_am335x_tsc.c: In function 'titsc_suspend':
drivers/input/touchscreen/ti_am335x_tsc.c:510:24: warning:
 variable 'tscadc_dev' set but not used [-Wunused-but-set-variable]

drivers/input/touchscreen/ti_am335x_tsc.c: In function 'titsc_resume':
drivers/input/touchscreen/ti_am335x_tsc.c:527:24: warning:
 variable 'tscadc_dev' set but not used [-Wunused-but-set-variable]

It's not used any more after 333e07ec4b33 ("Input: ti_am335x_tsc: Mark TSC
device as wakeup source")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ti_am335x_tsc.c