summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-02-02 22:27:01 +0100
committerArnd Bergmann <arnd@arndb.de>2021-02-02 22:27:01 +0100
commit1d025e0abff92668a102c0d798a9faa228ea0896 (patch)
treeb934517bcd84ebbfee0861c266a47b4f64c209af /drivers/bus
parentb04c38b666edd9cf19ac773a7a899cf8554a474f (diff)
parent2241ed9205ed91072d20ae10ad6904dc2bec5612 (diff)
downloadlwn-1d025e0abff92668a102c0d798a9faa228ea0896.tar.gz
lwn-1d025e0abff92668a102c0d798a9faa228ea0896.zip
Merge tag 'mvebu-arm-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into arm/drivers
mvebu arm for 5.12 (part 1) Improve mvebu-mbus code readability. * tag 'mvebu-arm-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: bus: mvebu-mbus: make iounmap() symmetric with ioremap() Link: https://lore.kernel.org/r/87v9bbn4az.fsf@BL-laptop Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/mvebu-mbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c
index 2519ceede64b..dd9e7343a5e3 100644
--- a/drivers/bus/mvebu-mbus.c
+++ b/drivers/bus/mvebu-mbus.c
@@ -1111,7 +1111,7 @@ static int __init mvebu_mbus_common_init(struct mvebu_mbus_state *mbus,
mbus->sdramwins_base = ioremap(sdramwins_phys_base, sdramwins_size);
if (!mbus->sdramwins_base) {
- iounmap(mbus_state.mbuswins_base);
+ iounmap(mbus->mbuswins_base);
return -ENOMEM;
}