regmap: mmio: Fix rebase error

A dangling pointless "ret 0" was left in and some unneeded
whitespace can go too.

Fixes: 81c0386c13 ("regmap: mmio: Support accelerared noinc operations")
Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220831141303.501548-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Linus Walleij 2022-08-31 16:13:03 +02:00 committed by Mark Brown
parent b7059927c3
commit d57f2035c0
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -410,14 +410,11 @@ static int regmap_mmio_noinc_read(void *context, unsigned int reg,
}
}
out_clk:
if (!IS_ERR(ctx->clk))
clk_disable(ctx->clk);
return ret;
return 0;
}