diff options
author | Johannes Thumshirn <morbidrsa@gmail.com> | 2014-01-02 14:52:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-02-03 19:27:59 (GMT) |
commit | 97b6ee5253021d890eb9fdd95e0b64fd95494824 (patch) | |
tree | 47e7299cd835418cbff56671a4adc9b62748422c /drivers/iio | |
parent | c842f241956f880fbba9bc041b196a249f80d131 (diff) | |
download | linux-97b6ee5253021d890eb9fdd95e0b64fd95494824.tar.xz |
iio: adc: viperboard: Drop platform_set_drvdata call
Drop call to platform_set_drvdata as driver data is not used anywhere in the
driver
Signed-off-by: Johannes Thumshirn <morbidrsa@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/adc/viperboard_adc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/adc/viperboard_adc.c b/drivers/iio/adc/viperboard_adc.c index d0add8f..9acf6b6 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; } |