On Fri, Sep 20, 2019 at 11:23 AM Markus Elfring <[email protected]> wrote:
> From: Markus Elfring <[email protected]> > Date: Fri, 20 Sep 2019 10:52:56 +0200 > > Simplify this function implementation by using the wrapper function > “devm_platform_ioremap_resource” instead of calling the functions > “platform_get_resource” and “devm_ioremap_resource” directly. > > * Thus reduce also a bit of exception handling code here. > * Delete the local variable “res”. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring <[email protected]> Seems correct. Reviewed-by: Linus Walleij <[email protected]> BR Linus Walleij

