summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/colibri-vf50-ts.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-22 08:33:01 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-22 08:51:53 +0100
commit8300445cc7c14b1532a4891f2d25a649d6437daa (patch)
tree1a27984dfa5713ffb57e4de770ba1b902f45b160 /drivers/input/touchscreen/colibri-vf50-ts.c
parentInput: misc - drop calls to platform_set_drvdata and i2c_set_clientdata (diff)
downloadlinux-8300445cc7c14b1532a4891f2d25a649d6437daa.tar.xz
linux-8300445cc7c14b1532a4891f2d25a649d6437daa.zip
Input: touchscreen - 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/touchscreen/colibri-vf50-ts.c')
-rw-r--r--drivers/input/touchscreen/colibri-vf50-ts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/colibri-vf50-ts.c b/drivers/input/touchscreen/colibri-vf50-ts.c
index 69828d015d45..69c08acae264 100644
--- a/drivers/input/touchscreen/colibri-vf50-ts.c
+++ b/drivers/input/touchscreen/colibri-vf50-ts.c
@@ -311,8 +311,6 @@ static int vf50_ts_probe(struct platform_device *pdev)
return -ENOMEM;
}
- platform_set_drvdata(pdev, touchdev);
-
input->name = DRIVER_NAME;
input->id.bustype = BUS_HOST;
input->dev.parent = dev;