diff options
author | Naveen Krishna Chatradhi <ch.naveen@samsung.com> | 2013-05-20 07:34:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-05-22 22:15:20 +0100 |
commit | 927b4dc3e440a060bd7d9a7ecb83c3dcd80adc84 (patch) | |
tree | a269890f81aa5b4d50163b92804fc690ce46ccf8 /virt/kvm/irq_comm.c | |
parent | d61a04dc148db1d0e7fa2307eb0f7abbc44fcd98 (diff) |
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 'virt/kvm/irq_comm.c')
0 files changed, 0 insertions, 0 deletions