Re: [PATCH next] mmc: renesas_sdhi: fix error code in renesas_sdhi_probe()

From: Geert Uytterhoeven
Date: Fri Mar 14 2025 - 06:24:13 EST


On Fri, 14 Mar 2025 at 11:12, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> If devm_regulator_register() fails then propagate the error code. Don't
> return success.
>
> Fixes: fae80a99dc03 ("mmc: renesas_sdhi: Add support for RZ/G3E SoC")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds