[COMMON] fimc-is2: simplify getting .drvdata
authorJeongtae Park <jtp.park@samsung.com>
Thu, 26 Apr 2018 02:50:37 +0000 (11:50 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:02 +0000 (17:05 +0900)
commit9212c1bb24eb9346082c1f9cc88663352dc9cd43
treeaf743f51470ae70d0be27ed16ff4a5fa81dd444f
parentbf3ba43d81f00259e7df404252dc4e8c8985b70d
[COMMON] fimc-is2: simplify getting .drvdata

We should get drvdata from struct device directly.
Going via platform_device is an unneeded step back and forth.

Change-Id: I76cd504d46b1f19a71d14b7a729652166f7f5c6d
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-core.c
drivers/media/platform/exynos/fimc-is2/fimc-is-device-ischain.c
drivers/media/platform/exynos/fimc-is2/fimc-is-device-preprocessor.c
drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v3_11_0/fimc-is-hw-pwr.c
drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v4_0_0/fimc-is-hw-pwr.c
drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v4_3_0/fimc-is-hw-pwr.c
drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v5_10_0/fimc-is-hw-pwr.c