summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/adc-keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/adc-keys.c')
-rw-r--r--drivers/input/keyboard/adc-keys.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/adc-keys.c b/drivers/input/keyboard/adc-keys.c
index f8cf2ccacefd..c255af21e71a 100644
--- a/drivers/input/keyboard/adc-keys.c
+++ b/drivers/input/keyboard/adc-keys.c
@@ -148,8 +148,6 @@ static int adc_keys_probe(struct platform_device *pdev)
if (error)
return error;
- platform_set_drvdata(pdev, st);
-
poll_dev = devm_input_allocate_polled_device(dev);
if (!poll_dev) {
dev_err(dev, "failed to allocate input device\n");