[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANDhNCpZZ9k-7h4VWNq_=56v1fRehKJcHobZ=mfu3MP9Rzno+w@mail.gmail.com>
Date: Mon, 5 Feb 2024 09:55:53 -0800
From: John Stultz <jstultz@...gle.com>
To: Markus Elfring <Markus.Elfring@....de>
Cc: dri-devel@...ts.freedesktop.org, kernel-janitors@...r.kernel.org,
Daniel Vetter <daniel@...ll.ch>, David Airlie <airlied@...il.com>,
Douglas Anderson <dianders@...omium.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard <mripard@...nel.org>,
Sumit Semwal <sumit.semwal@...aro.org>, Thomas Zimmermann <tzimmermann@...e.de>,
Tian Tao <tiantao6@...ilicon.com>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Xinliang Liu <xinliang.liu@...aro.org>, Xinwei Kong <kong.kongxinwei@...ilicon.com>,
Yongqin Liu <yongqin.liu@...aro.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/hisilicon: Use devm_platform_get_and_ioremap_resource()
in dsi_parse_dt()
On Mon, Feb 5, 2024 at 12:13 AM Markus Elfring <Markus.Elfring@....de> wrote:
>
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Mon, 5 Feb 2024 08:58:21 +0100
>
> A wrapper function is available since the commit 890cc39a879906b63912482dfc41944579df2dc6
> ("drivers: provide devm_platform_get_and_ioremap_resource()").
> Thus reuse existing functionality instead of keeping duplicate source code.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
I no longer have hardware to test with this, but this looks reasonable to me.
Acked-by: John Stultz <jstultz@...gle.com>
thanks
-john
Powered by blists - more mailing lists