summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-12-30 17:59:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 15:51:28 +0100
commit03e30f06e5286bc91ba4785d33c1d3fa03e8a442 (patch)
tree9ff2b2f1009f84732ab2ced846c029aa094e8baa /scripts/gdb/linux/timerlist.py
parent6e054678ff5c10840ce801dfdb2d4898decb2b63 (diff)
serial: sccnxp: Use devm_clk_get_enabled() helper
The devm_clk_get_enabled() helper: - calls devm_clk_get() - calls clk_prepare_enable() and registers what is needed in order to call clk_disable_unprepare() when needed, as a managed resource. This simplifies the code. This also avoids some other warnings/issues. (see [1]) [1]: https://lore.kernel.org/all/20221118233101.never.215-kees@kernel.org/ Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/735a807c2df835aa436dcbc76b374f983f89a9af.1672419577.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions