[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Ymut7ExGPcj5Lmby@zn.tnic>
Date: Fri, 29 Apr 2022 11:20:44 +0200
From: Borislav Petkov <bp@...en8.de>
To: cgel.zte@...il.com
Cc: jlu@...gutronix.de, mchehab@...nel.org, tony.luck@...el.com,
james.morse@....com, rric@...nel.org, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org, Lv Ruyi <lv.ruyi@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] edac: Make use of the helper function
devm_platform_ioremap_resource()
On Thu, Apr 21, 2022 at 08:46:21AM +0000, cgel.zte@...il.com wrote:
> From: Lv Ruyi <lv.ruyi@....com.cn>
>
> Use the devm_platform_ioremap_resource() helper instead of calling
> platform_get_resource() and devm_ioremap_resource() separately.Make the
> code simpler without functional changes.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Lv Ruyi <lv.ruyi@....com.cn>
> ---
> drivers/edac/armada_xp_edac.c | 18 ++----------------
> 1 file changed, 2 insertions(+), 16 deletions(-)
Applied, thanks.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists