summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/twl4030-pwrbutton.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-21 23:32:34 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-21 23:51:51 -0800
commit4cd216cbe744f907e7201f1f93f383980b7f931a (patch)
tree00c9bd21c660164cac60e6e80fa34da3b3349cab /drivers/input/misc/twl4030-pwrbutton.c
parent666c0b8366b8d5d44251a3889f6a2c264a38dee9 (diff)
downloadlinux-stable-4cd216cbe744f907e7201f1f93f383980b7f931a.tar.gz
linux-stable-4cd216cbe744f907e7201f1f93f383980b7f931a.tar.bz2
linux-stable-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/twl4030-pwrbutton.c')
-rw-r--r--drivers/input/misc/twl4030-pwrbutton.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/twl4030-pwrbutton.c b/drivers/input/misc/twl4030-pwrbutton.c
index 603fc2fadf05..54162d2cbcfc 100644
--- a/drivers/input/misc/twl4030-pwrbutton.c
+++ b/drivers/input/misc/twl4030-pwrbutton.c
@@ -85,7 +85,6 @@ static int twl4030_pwrbutton_probe(struct platform_device *pdev)
return err;
}
- platform_set_drvdata(pdev, pwr);
device_init_wakeup(&pdev->dev, true);
return 0;