power: reset: hisi-reboot: Unmap region obtained by of_iomap
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 12 Aug 2016 15:19:18 +0000 (20:49 +0530)
committerSebastian Reichel <sre@kernel.org>
Fri, 12 Aug 2016 20:42:37 +0000 (22:42 +0200)
commitbae170efd6c42bf116f513a1dd07639d68fa71b9
treeff62d89815e7ea5e98453856f746846db7fb9ac8
parent7a4947cf6f26b7d0a5db260d212f6df41a563d23
power: reset: hisi-reboot: Unmap region obtained by of_iomap

Free memory mapping, if probe is not successful.

Fixes: 4a9b37371822 ("power: reset: move hisilicon reboot code")
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/hisi-reboot.c