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

Input: gpio_decoder - drop unnecessary call to platform_set_drvdata



There is no call to platform_get_drvdata() or dev_get_drvdata().
Drop the unnecessary call to platform_set_drvdata().

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 0265c324
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -110,7 +110,6 @@ static int gpio_decoder_probe(struct platform_device *pdev)
		dev_err(dev, "failed to register polled  device\n");
		return err;
	}
	platform_set_drvdata(pdev, decoder);

	return 0;
}