aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorZhang Heng <[email protected]>2025-01-03 11:30:59 +0000
committerJoerg Roedel <[email protected]>2025-01-06 11:41:00 +0000
commitafc0cbc6e25b37dc9ba11d415ea6858902a7f04b (patch)
tree71c957d2397998dc54e1aeb705e36d29735e836b /net/switchdev/switchdev.c
parentLinux 6.13-rc3 (diff)
downloadkernel-afc0cbc6e25b37dc9ba11d415ea6858902a7f04b.tar.gz
kernel-afc0cbc6e25b37dc9ba11d415ea6858902a7f04b.zip
iommu/msm: Use helper function devm_clk_get_prepared()
Since commit 7ef9651e9792 ("clk: Provide new devm_clk helpers for prepared and enabled clocks"), devm_clk_get() and clk_prepare() can now be replaced by devm_clk_get_prepared() when driver prepares the clocks for the whole lifetime of the device. Moreover, it is no longer necessary to unprepare the clocks explicitly. Signed-off-by: Zhang Heng <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions