[PATCH] iio: adc: viperboard: Drop platform_set_drvdata call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Drop call to platform_set_drvdata as driver data is not used anywhere in the
driver

Signed-off-by: Johannes Thumshirn <morbidrsa@xxxxxxxxx>
---
 drivers/iio/adc/viperboard_adc.c | 2 --
 1 file changed, 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;
 }
 
-- 
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux