[PATCH -next] mfd: mxs-lradc: Use the devm_clk_get_enabled() helper function

Lee Jones lee at kernel.org
Mon Aug 21 04:20:17 PDT 2023


On Fri, 18 Aug 2023, Ruan Jinjie wrote:

> With devm_clk_get_enabled() the call to clk_disable_unprepare() can be
> dropped from the error path and the remove callback.
> 
> Signed-off-by: Ruan Jinjie <ruanjinjie at huawei.com>
> ---
>  drivers/mfd/mxs-lradc.c | 35 ++++++++---------------------------
>  1 file changed, 8 insertions(+), 27 deletions(-)

Doesn't apply.  Please rebase and resubmit.

-- 
Lee Jones [李琼斯]



More information about the linux-arm-kernel mailing list