diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-18 14:40:04 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-18 14:49:13 -0500 |
commit | a196b2c9f5f752e139f91d306fcb471e97723253 (patch) | |
tree | 1fc312304fcd01eb83b834cb9002b5fb8ba7093f /drivers/input/misc/gpio_decoder.c | |
parent | 0265c324b8a2bbe502fee3007361d310de3b6d0c (diff) |
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: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/gpio_decoder.c')
-rw-r--r-- | drivers/input/misc/gpio_decoder.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/gpio_decoder.c b/drivers/input/misc/gpio_decoder.c index ca7e0bacb2d8..1dca526e6f1a 100644 --- a/drivers/input/misc/gpio_decoder.c +++ b/drivers/input/misc/gpio_decoder.c | |||
@@ -110,7 +110,6 @@ static int gpio_decoder_probe(struct platform_device *pdev) | |||
110 | dev_err(dev, "failed to register polled device\n"); | 110 | dev_err(dev, "failed to register polled device\n"); |
111 | return err; | 111 | return err; |
112 | } | 112 | } |
113 | platform_set_drvdata(pdev, decoder); | ||
114 | 113 | ||
115 | return 0; | 114 | return 0; |
116 | } | 115 | } |