]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/exynos: using dev_get_drvdata directly
authorFuqian Huang <huangfq.daxian@gmail.com>
Thu, 4 Jul 2019 02:34:36 +0000 (10:34 +0800)
committerInki Dae <inki.dae@samsung.com>
Fri, 2 Aug 2019 06:28:47 +0000 (15:28 +0900)
commit9eae7c3bcb52ec0a9f816d830e232e36a20b46d4
tree067366caf612a0d29c97863c2b4a0dc33aa8d2ca
parentf8981e0309e9004c6e86d218049045700c79d740
drm/exynos: using dev_get_drvdata directly

Several drivers cast a struct device pointer to a struct
platform_device pointer only to then call platform_get_drvdata().
To improve readability, these constructs can be simplified
by using dev_get_drvdata() directly.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimc.c
drivers/gpu/drm/exynos/exynos_drm_gsc.c