Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -139,8 +139,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev)
		return ret;
	}

	platform_set_drvdata(pdev, indio_dev);

	return 0;
}