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/s3c2410_ts.c | |
parent | ad56814fccfba3fe3613fa4d9accff3816786f3c (diff) | |
download | linux-d7ddf15414dd598b9b875664e6b7aebe6c988f5d.tar.bz2 |
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/s3c2410_ts.c')
-rw-r--r-- | drivers/input/touchscreen/s3c2410_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c index a4a103e1d11b..41d58e88cc8a 100644 --- a/drivers/input/touchscreen/s3c2410_ts.c +++ b/drivers/input/touchscreen/s3c2410_ts.c @@ -250,7 +250,7 @@ static int s3c2410ts_probe(struct platform_device *pdev) ts.dev = dev; - info = dev_get_platdata(&pdev->dev); + info = dev_get_platdata(dev); if (!info) { dev_err(dev, "no platform data, cannot attach\n"); return -EINVAL; |