Re: [PATCH v2] i2c: mpc: Use devm_clk_get_optional_enabled() to simplify code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Zhang,

On Wed, Sep 04, 2024 at 08:22:26PM GMT, Zhang Zekun wrote:
> devm_clk_get_optional() and clk_prepare_enable() can be replaced by helper
> function devm_clk_get_optional_enabled(). Let's simplify code with use of
> devm_clk_get_optional_enabled() and avoid calling clk_disable_unprepare().
> 
> Signed-off-by: Zhang Zekun <zhangzekun11@xxxxxxxxxx>

Merged to i2c/i2c-host, with some minimum grammatical fixes in
the commit log

Thanks,
Andi




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux