Skip to content
Snippets Groups Projects
Commit 9eae7c3b authored by Fuqian Huang's avatar Fuqian Huang Committed by Inki Dae
Browse files

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: default avatarFuqian Huang <huangfq.daxian@gmail.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent f8981e03
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment