Re: EDAC: Armada XP: Use devm_platform_ioremap_resource() in two functions

2019-09-23 Thread Markus Elfring
> Which semantic patch did you use here? I suggest to take another look at details around background information on a subject like “Coccinelle: api: add devm_platform_ioremap_resource script”. https://lore.kernel.org/r/2cacd712-a8b8-6471-a9b4-23ba54434...@web.de/ https://systeme.lip6.fr/pipermail/

Re: [PATCH] EDAC: Armada XP: Use devm_platform_ioremap_resource() in two functions

2019-09-23 Thread Robert Richter
Hi Markus, On 21.09.19 17:57:24, Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 21 Sep 2019 17:50:17 +0200 > > Simplify these function implementations by using a known function. > > This issue was detected by using the Coccinelle software. Which semantic patch did you use here? The

[PATCH] EDAC: Armada XP: Use devm_platform_ioremap_resource() in two functions

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 17:50:17 +0200 Simplify these function implementations by using a known function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/edac/armada_xp_edac.c | 18 ++ 1 file changed, 2 in