Re: [Patch v2 02/10] drm/msm: using dev_get_drvdata directly
From: Emil Velikov
Date: Thu Jul 04 2019 - 10:12:18 EST
On Thu, 4 Jul 2019 at 08:26, Fuqian Huang <huangfq.daxian@xxxxxxxxx> 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@xxxxxxxxx>
This patch is:
Reviewed-by: Emil Velikov <emil.velikov@xxxxxxxxxxxxx>
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