aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2022-08-31 16:13:03 +0200
committerMark Brown <[email protected]>2022-09-01 11:56:26 +0100
commitd57f2035c0455dfd5e4d29caa0266fad6febe6d6 (patch)
tree57bb221f82447ac701edd9d2801847a263dfdeec
parentb7059927c3e32c96d2ff50c206549d8fac0ba69e (diff)
regmap: mmio: Fix rebase error
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--drivers/base/regmap/regmap-mmio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/regmap/regmap-mmio.c b/drivers/base/regmap/regmap-mmio.c
index e8d2675463ac..b47ee3e8d050 100644
--- a/drivers/base/regmap/regmap-mmio.c
+++ b/drivers/base/regmap/regmap-mmio.c
@@ -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;
}