iio: adc: viperboard: Drop platform_set_drvdata call
PATCH 1/1 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 <[email protected]>
--- drivers/iio/adc/viperboard_adc.c | 2 -- 1 file changed, 2 deletions(-)
drivers/iio/adc/viperboard_adc.c +0 -2
@@ -139,8 +139,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev)return ret; } -platform_set_drvdata (pdev, indio_dev); -return 0 ; }
Signature · 1 line
1.8.5.3
Quoted 4 lines · Johannes Thumshirn
Drop call to
platform_set_drvdataas driver data is not used anywhere in the driverSigned-off-by Johannes Thumshirn <[email protected]>
Applied to the togreg branch of iio.git
Thanks,
Quoted 18 lines
--- drivers/iio/adc/viperboard_adc.c | 2 -- 1 file changed, 2 deletions(-)drivers/iio/adc/viperboard_adc.c +0
-2@@ -139,8 +139,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev)return ret; } -platform_set_drvdata (pdev, indio_dev); -return 0 ; }