[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACvgo517dGz+NRr3ejmfiOvsN9L_xzaHYOUze5xxSjsqQ_KXxQ@mail.gmail.com>
Date: Thu, 4 Jul 2019 15:13:04 +0100
From: Emil Velikov <emil.l.velikov@...il.com>
To: Fuqian Huang <huangfq.daxian@...il.com>
Cc: Tomeu Vizoso <tomeu.vizoso@...labora.com>,
David Airlie <airlied@...ux.ie>,
"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>,
ML dri-devel <dri-devel@...ts.freedesktop.org>
Subject: Re: [Patch v2 04/10] drm/panfrost: 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