[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACvgo52zd4iMR1v3AbNh8XP3jmFOueOoFvqr9ZWTX4pe_Ev5AQ@mail.gmail.com>
Date: Thu, 4 Jul 2019 15:12:47 +0100
From: Emil Velikov <emil.l.velikov@...il.com>
To: Fuqian Huang <huangfq.daxian@...il.com>
Cc: David Airlie <airlied@...ux.ie>,
"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>,
ML dri-devel <dri-devel@...ts.freedesktop.org>,
Tomi Valkeinen <tomi.valkeinen@...com>
Subject: Re: [Patch v2 03/10] drm/omapdrm: using dev_get_drvdata directly
On Thu, 4 Jul 2019 at 08:26, Fuqian Huang <huangfq.daxian@...il.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@...il.com>
This patch is:
Reviewed-by: Emil Velikov <emil.velikov@...labora.com>
-Emil
Powered by blists - more mailing lists