diff options
author | 2023-08-18 17:30:14 +0800 | |
---|---|---|
committer | 2023-08-21 14:11:16 +0200 | |
commit | 9e0fa5d85a4f49496e1a92889418c9d7767c1ab9 (patch) | |
tree | 8a7c657f6e7f124b1a8be1e7510269287d9b3479 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: pca9570: fix kerneldoc (diff) | |
download | wireguard-linux-9e0fa5d85a4f49496e1a92889418c9d7767c1ab9.tar.xz wireguard-linux-9e0fa5d85a4f49496e1a92889418c9d7767c1ab9.zip |
gpio: mxc: Use helper function devm_clk_get_optional_enabled()
Since commit 7ef9651e9792 ("clk: Provide new devm_clk helpers for
prepared and enabled clocks"), devm_clk_get_optional() and
clk_prepare_enable() can now be replaced by
devm_clk_get_optional_enabled() when the driver enables (and possibly
prepares) the clocks for the whole lifetime of the device. Moreover,
it is no longer necessary to unprepare and disable the clocks explicitly.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions