soc/tegra: fuse: Unmap registers once they are not needed anymore
authorDmitry Osipenko <digetx@gmail.com>
Wed, 18 Dec 2019 18:23:04 +0000 (21:23 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Jan 2020 14:59:43 +0000 (15:59 +0100)
commit02676345e9b31ad8907af3755960e3cfef575f8d
treeca8cff73d6e99a4b8ac6392fecbd1258000ab7d7
parent2d9ea1934f8ef0dfb862d103389562cc28b4fc03
soc/tegra: fuse: Unmap registers once they are not needed anymore

Both Chip ID and strapping registers are now read out during of APB MISC
initialization, the registers' mapping isn't needed anymore once registers
are read. Hence let's unmap registers once they are not needed anymore,
for consistency.

Suggested-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/tegra-apbmisc.c