summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/viperboard_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/viperboard_adc.c')
-rw-r--r--drivers/iio/adc/viperboard_adc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/adc/viperboard_adc.c b/drivers/iio/adc/viperboard_adc.c
index d0add8f9416b..9acf6b6d705b 100644
--- a/drivers/iio/adc/viperboard_adc.c
+++ b/drivers/iio/adc/viperboard_adc.c
@@ -139,8 +139,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev)
return ret;
}
- platform_set_drvdata(pdev, indio_dev);
-
return 0;
}