mfd: ipaq-micro: Use devm_platform_ioremap_resource() in micro_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 18 Sep 2019 11:40:30 +0000 (13:40 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 08:45:01 +0000 (08:45 +0000)
commitf20781e5f38eec12174c6d3f018ba001d2e9087d
treef8558a872b1822bc60ec5af60bd45d8ede5f3247
parenteeb86ed3eafadd51dd97677856b68d6294eea00f
mfd: ipaq-micro: Use devm_platform_ioremap_resource() in micro_probe()

Simplify this function implementation by using a known wrapper function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ipaq-micro.c