Qinglang Miao 73d57280f6 powerpc: sysdev: add missing iounmap() on error in mpic_msgr_probe()
[ Upstream commit ffa1797040c5da391859a9556be7b735acbe1242 ]

I noticed that iounmap() of msgr_block_addr before return from
mpic_msgr_probe() in the error handling case is missing. So use
devm_ioremap() instead of just ioremap() when remapping the message
register block, so the mapping will be automatically released on
probe failure.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201028091551.136400-1-miaoqinglang@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-01-09 13:35:50 +01:00
..
2016-09-20 20:57:12 +10:00
2017-12-14 09:28:21 +01:00
2016-08-07 23:50:09 -04:00
2016-09-20 20:57:12 +10:00
2016-09-20 20:57:12 +10:00
2016-09-20 20:57:12 +10:00
2016-09-20 20:57:12 +10:00
2016-03-04 23:50:27 -06:00
2016-03-04 23:50:27 -06:00
2013-10-09 20:04:11 -05:00
2016-09-20 20:57:12 +10:00
2013-11-06 14:13:50 +11:00
2014-09-25 23:14:46 +10:00