aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_g2d.c
diff options
context:
space:
mode:
authorFuqian Huang <huangfq.daxian@gmail.com>2019-07-04 10:34:36 +0800
committerInki Dae <inki.dae@samsung.com>2019-08-02 15:28:47 +0900
commit9eae7c3bcb52ec0a9f816d830e232e36a20b46d4 (patch)
tree067366caf612a0d29c97863c2b4a0dc33aa8d2ca /drivers/gpu/drm/exynos/exynos_drm_g2d.c
parentMerge tag 'msm-fixes-2019_08_01' of https://gitlab.freedesktop.org/drm/msm into drm-fixes (diff)
downloadlinux-dev-9eae7c3bcb52ec0a9f816d830e232e36a20b46d4.tar.xz
linux-dev-9eae7c3bcb52ec0a9f816d830e232e36a20b46d4.zip
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>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_g2d.c')
0 files changed, 0 insertions, 0 deletions