Re: [PATCH v2] crypto: talitos - Use devm_platform_ioremap_resource()

2019-06-06 Thread Fabio Estevam
Hi Christophe, On Thu, Jun 6, 2019 at 2:45 PM Christophe Leroy wrote: > Have you checked that it has no impact ? > > On SOCs, areas of memory are often shared between several drivers. > devm_ioremap_ressource() can only be used if we are 100% sure that this > area of memory is not shared with an

Re: [PATCH v2] crypto: talitos - Use devm_platform_ioremap_resource()

2019-06-06 Thread Christophe Leroy
Le 06/06/2019 à 19:28, Fabio Estevam a écrit : Use devm_platform_ioremap_resource() to simplify the code a bit. While at it, remove unneeded error message in case of devm_platform_ioremap_resource() failure, as the core mm code will take care of it. devm_platform_ioremap_resource() doesn't

[PATCH v2] crypto: talitos - Use devm_platform_ioremap_resource()

2019-06-06 Thread Fabio Estevam
Use devm_platform_ioremap_resource() to simplify the code a bit. While at it, remove unneeded error message in case of devm_platform_ioremap_resource() failure, as the core mm code will take care of it. Signed-off-by: Fabio Estevam --- Changes since v1: - Adjust the error check for devm_platform