From: Naveen Krishna Chatradhi Date: Mon, 20 May 2013 06:34:00 +0000 (+0100) Subject: iio: exynos_adc: fix wrong structure extration in suspend and resume X-Git-Tag: v3.10-rc3~23^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=927b4dc3e440a060bd7d9a7ecb83c3dcd80adc84;p=pandora-kernel.git 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 Reviewed-by: Doug Anderson Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed