aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-04-18 22:21:02 +0200
committerThierry Reding <[email protected]>2023-06-23 15:35:01 +0200
commit55e644b840baf7a884a27be81b7582794f54a808 (patch)
tree9fcac43437458caff8d6c171f1410243071dd260 /scripts/generate_rust_analyzer.py
parent2b8e30b1bd500df67554f1c183caf333de82f8d2 (diff)
pwm: sifive: Simplify using devm_clk_get_prepared()
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. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions