aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-09-11 22:06:48 +0100
committerMark Brown <broonie@kernel.org>2023-09-11 22:43:17 +0100
commitfd811b62939f6d374546cfc25bbccb697a95519a (patch)
tree85fcd180030e5f29251d7c4cd19e857979cc5318 /scripts/rustdoc_test_builder.rs
parentfffae3afd6df9c5e0bfcba18dccdb04a9b907f51 (diff)
parentd6c612a34740118855cd1c8acc4339adea686266 (diff)
spi: Use devm_clk_get_*() helper function to
Merge series from Li Zetao <lizetao1@huawei.com>: Commit 7ef9651e9792 ("clk: Provide new devm_clk helpers for prepared and enabled clocks") provides a new helper function for prepared and enabled clocks when a driver keeps a clock prepared (or enabled) during the whole lifetime of the driver. So where drivers get clocks and enable them immediately, it can be combined into a single function devm_clk_get_*(). Moreover, the unprepare and disable function has been registered to devm_clk_state, and before devm_clk_state is released, the clocks will be unprepareed and disable, so it is unnecessary to unprepare and disable clocks explicitly when remove drivers or in the error handling path.
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions