Re: [PATCH] regmap: mmio: Fix rebase error

From: Andy Shevchenko
Date: Wed Aug 31 2022 - 17:30:27 EST


On Wed, Aug 31, 2022 at 04:13:03PM +0200, Linus Walleij wrote:
> A dangling pointless "ret 0" was left in and some unneeded
> whitespace can go too.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

> Fixes: 81c0386c1376 ("regmap: mmio: Support accelerared noinc operations")
> Reported-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> drivers/base/regmap/regmap-mmio.c | 3 ---
> 1 file changed, 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;
> }
>
>
> --
> 2.37.2
>

--
With Best Regards,
Andy Shevchenko