w1: mxc_w1: Use devm_clk_get_enabled() in mxc_w1_probe()
Markus Elfring
Markus.Elfring at web.de
Mon Nov 23 01:35:24 PST 2026
> 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
More information about the linux-arm-kernel
mailing list