Staging: iio: frequency: use dev_get_platdata()
authorNizam Haider <nizamhaider786@gmail.com>
Mon, 23 Nov 2015 18:07:16 +0000 (23:37 +0530)
committerJonathan Cameron <jic23@kernel.org>
Wed, 2 Dec 2015 18:42:06 +0000 (18:42 +0000)
commit7221819ac48195ea9f1e179c3f812939319d9e7b
tree5bb7caf5fb89dfacbaa8a561adcf5ba431e75415
parenta260527f83dfebe7c49bd6582ed6aa1be29f355a
Staging: iio: frequency: 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/frequency/ad9832.c
drivers/staging/iio/frequency/ad9834.c