staging: iio: ad5933: use dev_get_platdata()
authorAlison Schofield <amsfield22@gmail.com>
Mon, 14 Mar 2016 06:13:49 +0000 (23:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit7b58e2402f965c97c191570e187fa107230d09b4
tree5d58e9b047fbaae22b92213dc481196914f8f211
parent5e3d1d520ffccb956a5b00c8a858416747869058
staging: iio: ad5933: use dev_get_platdata()

Use dev_get_platdata() for retrieving the platform data instead of
accessing dev->platform_data directly.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/impedance-analyzer/ad5933.c