Re: [PATCH] clk: max9485: Register a callback to disable the regulator

From: Stephen Boyd
Date: Mon Aug 15 2022 - 15:29:24 EST


Quoting Zheyu Ma (2022-05-10 01:43:15)
> The driver should register a callback which can disable the regulator
> when it fails to probe.
>
> Signed-off-by: Zheyu Ma <zheyuma97@xxxxxxxxx>
> ---

Looks like there's going to be a devm_regulator_get_enable() API that
we can use instead. Please do that.

https://lore.kernel.org/all/cover.1660292316.git.mazziesaccount@xxxxxxxxx/