diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-22 08:32:34 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-22 08:51:51 +0100 |
commit | 4cd216cbe744f907e7201f1f93f383980b7f931a (patch) | |
tree | 00c9bd21c660164cac60e6e80fa34da3b3349cab /drivers/input/misc/arizona-haptics.c | |
parent | Input: keyboard - drop calls to platform_set_drvdata and i2c_set_clientdata (diff) | |
download | linux-4cd216cbe744f907e7201f1f93f383980b7f931a.tar.xz linux-4cd216cbe744f907e7201f1f93f383980b7f931a.zip |
Input: misc - drop calls to platform_set_drvdata and i2c_set_clientdata
There is no call to i2c_get_clientdata(), platform_get_drvdata(),
or dev_get_drvdata() in any of the drivers in this patch.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/arizona-haptics.c')
-rw-r--r-- | drivers/input/misc/arizona-haptics.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/misc/arizona-haptics.c b/drivers/input/misc/arizona-haptics.c index 982936334537..de1b64703c8c 100644 --- a/drivers/input/misc/arizona-haptics.c +++ b/drivers/input/misc/arizona-haptics.c @@ -196,8 +196,6 @@ static int arizona_haptics_probe(struct platform_device *pdev) return ret; } - platform_set_drvdata(pdev, haptics); - return 0; } |