]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: iio: adc: use dev_get_platdata()
authorNizam Haider <nizamhaider786@gmail.com>
Mon, 23 Nov 2015 17:33:07 +0000 (23:03 +0530)
committerJonathan Cameron <jic23@kernel.org>
Wed, 2 Dec 2015 18:42:05 +0000 (18:42 +0000)
commit22b19ab3e2d6da666be816e649af67bf721b8561
treeafebc583fd2d7ff15efc09a4f6161a03312863db
parentf0e5f57d3ac25aa2afb25dc94d2b42a8defa8a19
Staging: iio: adc: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly.

Signed-off-by: Nizam Haider <nijamh@cdac.in>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7192.c
drivers/staging/iio/adc/ad7280a.c
drivers/staging/iio/adc/ad7816.c