regmap: mmio: Fix rebase error
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 31 Aug 2022 14:13:03 +0000 (16:13 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2022 10:56:26 +0000 (11:56 +0100)
A dangling pointless "ret 0" was left in and some unneeded
whitespace can go too.

Fixes: 81c0386c1376 ("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>
drivers/base/regmap/regmap-mmio.c

index e8d2675..b47ee3e 100644 (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;
 }