Re: [Patch v2 03/10] drm/omapdrm: using dev_get_drvdata directly
From: Emil Velikov
Date: Thu Jul 04 2019 - 10:12:42 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>
-Emil