[Patch v2 03/10] drm/omapdrm: using dev_get_drvdata directly

Emil Velikov emil.l.velikov at gmail.com
Thu Jul 4 14:12:47 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>

-Emil


More information about the dri-devel mailing list