diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-22 20:18:45 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-22 20:22:29 -0500 |
commit | 86178c8634ff8abe04933839d009c4440213040f (patch) | |
tree | 8cb12c8dec3d6bb206b21337bbe08b44faa58837 | |
parent | 555c765b0cc29119f4ff767334c479040587a1d6 (diff) |
Input: dm355evm_keys - drop unnecessary call to input_set_drvdata
Since there is no call to dev_get_drvdata() or input_get_drvdata(),
the call to input_set_drvdata() is unnecessary and can be dropped.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r-- | drivers/input/misc/dm355evm_keys.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/misc/dm355evm_keys.c b/drivers/input/misc/dm355evm_keys.c index b6b7bd4e5462..82e272ebc0ed 100644 --- a/drivers/input/misc/dm355evm_keys.c +++ b/drivers/input/misc/dm355evm_keys.c | |||
@@ -195,8 +195,6 @@ static int dm355evm_keys_probe(struct platform_device *pdev) | |||
195 | goto fail1; | 195 | goto fail1; |
196 | keys->irq = status; | 196 | keys->irq = status; |
197 | 197 | ||
198 | input_set_drvdata(input, keys); | ||
199 | |||
200 | input->name = "DM355 EVM Controls"; | 198 | input->name = "DM355 EVM Controls"; |
201 | input->phys = "dm355evm/input0"; | 199 | input->phys = "dm355evm/input0"; |
202 | input->dev.parent = &pdev->dev; | 200 | input->dev.parent = &pdev->dev; |