diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-18 20:48:11 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-18 20:49:22 +0100 |
commit | 8beb7172b428a63634684a8a2bf8754002756056 (patch) | |
tree | 86a46b09ede10821ad16f91a5d667c4e854d45e6 /drivers/input/keyboard/bcm-keypad.c | |
parent | Input: twl4030_keypad - drop unnecessary call to platform_set_drvdata (diff) | |
download | linux-8beb7172b428a63634684a8a2bf8754002756056.tar.xz linux-8beb7172b428a63634684a8a2bf8754002756056.zip |
Input: bcm-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/keyboard/bcm-keypad.c')
-rw-r--r-- | drivers/input/keyboard/bcm-keypad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/bcm-keypad.c b/drivers/input/keyboard/bcm-keypad.c index 86a8b723ae15..2b4e63d81e6d 100644 --- a/drivers/input/keyboard/bcm-keypad.c +++ b/drivers/input/keyboard/bcm-keypad.c @@ -352,8 +352,6 @@ static int bcm_kp_probe(struct platform_device *pdev) kp->input_dev = input_dev; - platform_set_drvdata(pdev, kp); - error = bcm_kp_matrix_key_parse_dt(kp); if (error) return error; |