diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-18 11:45:25 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-18 11:49:20 -0800 |
commit | e634d08dec48023394f816cdf17cc9f040b8d56f (patch) | |
tree | 8698cf4a37d63024f24a3d7370135f2c62a505e6 /drivers/input | |
parent | b8f6a6ad777f14e3ec48d410a840621a45fce98a (diff) | |
download | linux-e634d08dec48023394f816cdf17cc9f040b8d56f.tar.bz2 |
Input: twl4030_keypad - 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')
-rw-r--r-- | drivers/input/keyboard/twl4030_keypad.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/twl4030_keypad.c b/drivers/input/keyboard/twl4030_keypad.c index 323a0fb575a4..29396ca69416 100644 --- a/drivers/input/keyboard/twl4030_keypad.c +++ b/drivers/input/keyboard/twl4030_keypad.c @@ -441,7 +441,6 @@ static int twl4030_kp_probe(struct platform_device *pdev) return -EIO; } - platform_set_drvdata(pdev, kp); return 0; } |