diff options
author | Naveen Krishna Chatradhi <ch.naveen@samsung.com> | 2013-05-20 10:34:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-05-23 01:15:20 +0400 |
commit | 927b4dc3e440a060bd7d9a7ecb83c3dcd80adc84 (patch) | |
tree | a269890f81aa5b4d50163b92804fc690ce46ccf8 /drivers/firmware | |
parent | d61a04dc148db1d0e7fa2307eb0f7abbc44fcd98 (diff) | |
download | linux-927b4dc3e440a060bd7d9a7ecb83c3dcd80adc84.tar.xz |
iio: exynos_adc: fix wrong structure extration in suspend and resume
The exynos_adc device structure was wrongly extracted from the dev*
correcting the same.
Using the regular conversion of
struct device* -> struct platform_device* -> struct exynos_adc* seems wrong.
Instead we should be doing
struct device* -> struct iio_dev* -> struct exynos_adc*
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions