[PATCH] pwm: sifive: Simplify using devm_clk_get_prepared()

Thierry Reding thierry.reding at gmail.com
Fri Jun 23 07:51:41 PDT 2023


On Tue, 18 Apr 2023 22:21:02 +0200, Uwe Kleine-König wrote:
> Instead of preparing the clk after it was requested and unpreparing in
> .probe()'s error path and .remove(), use devm_clk_get_prepared() which
> copes for unpreparing automatically.
> 
> 

Applied, thanks!

[1/1] pwm: sifive: Simplify using devm_clk_get_prepared()
      commit: 55e644b840baf7a884a27be81b7582794f54a808

Best regards,
-- 
Thierry Reding <thierry.reding at gmail.com>



More information about the linux-riscv mailing list