Commit 97b6ee52 authored by Johannes Thumshirn's avatar Johannes Thumshirn Committed by Jonathan Cameron

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: default avatarJohannes Thumshirn <morbidrsa@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c842f241
...@@ -139,8 +139,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev) ...@@ -139,8 +139,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev)
return ret; return ret;
} }
platform_set_drvdata(pdev, indio_dev);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment