diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-21 23:46:47 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-21 23:53:17 -0800 |
commit | d7ddf15414dd598b9b875664e6b7aebe6c988f5d (patch) | |
tree | 3abd8a2b6d967614fc1fb2c67706e38794b52539 /drivers/input/touchscreen/ili210x.c | |
parent | ad56814fccfba3fe3613fa4d9accff3816786f3c (diff) | |
download | linux-stable-d7ddf15414dd598b9b875664e6b7aebe6c988f5d.tar.gz linux-stable-d7ddf15414dd598b9b875664e6b7aebe6c988f5d.tar.bz2 linux-stable-d7ddf15414dd598b9b875664e6b7aebe6c988f5d.zip |
Input: touchscreen - use local variables consistently
If a function declares a variable to access a structure element,
use it consistently.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/ili210x.c')
-rw-r--r-- | drivers/input/touchscreen/ili210x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ili210x.c b/drivers/input/touchscreen/ili210x.c index fe4848bd1f4c..91dc5fb34fe1 100644 --- a/drivers/input/touchscreen/ili210x.c +++ b/drivers/input/touchscreen/ili210x.c @@ -280,7 +280,7 @@ static int ili210x_i2c_probe(struct i2c_client *client, goto err_remove_sysfs; } - device_init_wakeup(&client->dev, 1); + device_init_wakeup(dev, 1); dev_dbg(dev, "ILI210x initialized (IRQ: %d), firmware version %d.%d.%d", |