soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 23 Sep 2020 11:31:42 +0000 (14:31 +0300)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 26 Oct 2020 09:00:14 +0000 (10:00 +0100)
commitcf25d802e029c31efac8bdc979236927f37183bd
treea0b5793762b2dd393e9c22a1a1fa1742f547448e
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains()

This code needs to call iounmap() on one error path.

Fixes: 2173fc7cb681 ("ARM: shmobile: R-Mobile: Add DT support for PM domains")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200923113142.GC1473821@mwanda
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/soc/renesas/rmobile-sysc.c