Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86178c86 authored by Guenter Roeck's avatar Guenter Roeck Committed by Dmitry Torokhov
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 555c765b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -195,8 +195,6 @@ static int dm355evm_keys_probe(struct platform_device *pdev)
		goto fail1;
	keys->irq = status;

	input_set_drvdata(input, keys);

	input->name = "DM355 EVM Controls";
	input->phys = "dm355evm/input0";
	input->dev.parent = &pdev->dev;