diff options
author | 2024-07-07 07:47:22 +0200 | |
---|---|---|
committer | 2024-07-30 10:57:20 +0200 | |
commit | 1c28c9452d521bf21dc5d2c50a47c2e43002728d (patch) | |
tree | a6710e1bcf1d0674300c2523c9ac237a3976082d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | soc: mediatek: pwrap: Constify some struct int[] (diff) | |
download | wireguard-linux-1c28c9452d521bf21dc5d2c50a47c2e43002728d.tar.xz wireguard-linux-1c28c9452d521bf21dc5d2c50a47c2e43002728d.zip |
soc: mediatek: pwrap: Use devm_clk_bulk_get_all_enable()
Use devm_clk_bulk_get_all_enable() to simplify the code and to make sure
that clk_disable_unprepare() is called if the driver is unloaded.
Fixes: 55924157da8c ("soc: mediatek: pwrap: add support for sys & tmr clocks")
Fixes: 1f022d84bd19 ("soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs")
Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/5b1114c538dd5230728592855f89942aec8ef83b.1720331018.git.christophe.jaillet@wanadoo.fr
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions