diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-21 23:44:18 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-21 23:51:56 -0800 |
commit | a0d86ecd23a9e8ae36e274191e55068cc4d10129 (patch) | |
tree | a3fcc68705966e595224b44bad519e6dae194a09 /drivers/input/misc/drv260x.c | |
parent | b4e66e7d1948e0a54a38102462b016ee1ed489c2 (diff) | |
download | linux-next-a0d86ecd23a9e8ae36e274191e55068cc4d10129.tar.gz |
Input: misc - 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/misc/drv260x.c')
-rw-r--r-- | drivers/input/misc/drv260x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c index 0a2b865b1000..fb089d36c0d6 100644 --- a/drivers/input/misc/drv260x.c +++ b/drivers/input/misc/drv260x.c @@ -538,7 +538,7 @@ static int drv260x_probe(struct i2c_client *client, haptics->input_dev = devm_input_allocate_device(dev); if (!haptics->input_dev) { - dev_err(&client->dev, "Failed to allocate input device\n"); + dev_err(dev, "Failed to allocate input device\n"); return -ENOMEM; } |