[Freedreno] [Patch v2 02/10] drm/msm: using dev_get_drvdata directly

Emil Velikov emil.l.velikov at gmail.com
Thu Jul 4 14:12:23 UTC 2019


On Thu, 4 Jul 2019 at 08:26, Fuqian Huang <huangfq.daxian at gmail.com> wrote:
>
> 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 at gmail.com>

This patch is:
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

I think you want to add Jordan's ack-by from [1]

-Emil
[1] https://lists.freedesktop.org/archives/dri-devel/2019-July/224928.html


More information about the Freedreno mailing list