aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorZhang Zekun <[email protected]>2024-09-04 20:22:26 +0800
committerAndi Shyti <[email protected]>2024-09-10 00:36:45 +0200
commit016b221209f43be864c880c521a3c0e1d9ef1c16 (patch)
tree42c782e5a97efee23bc19624f018a7e93f530546 /scripts/generate_rust_analyzer.py
parent2259ce0daa739f35d0ef80cfa5eb014cd0f01939 (diff)
i2c: mpc: Use devm_clk_get_optional_enabled() to simplify code
devm_clk_get_optional() and clk_prepare_enable() can be replaced by the helper function devm_clk_get_optional_enabled(). Let's simplify the code by using devm_clk_get_optional_enabled() and avoid calling clk_disable_unprepare(). Signed-off-by: Zhang Zekun <[email protected]> Reviewed-by: Chris Packham <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions