Re: w1: mxc_w1: Use devm_clk_get_enabled() in mxc_w1_probe()
From: Markus Elfring
Date: Mon Nov 23 2026 - 04:36:06 EST
> Not a big issue, but for me the commit log is too detailed, most of the
> things mentioned here are trivially visible from the patch. So I'd just
> write:
>
> w1: mxc_w1: Simplify probe routine using devm_clk_get_enabled()
>
> devm_clk_get_enabled() combines the functionality of
> devm_clk_get() and clk_prepare_enable() with an automatic
> cleanup callback registered to disable the clock in the error
> paths and at unbind time.
>
> Simplify accordingly.
How will the wording preferences evolve further for such change descriptions?
Regards,
Markus