aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnand Moon <linux.amoon@gmail.com>2024-10-12 12:49:06 +0530
committerVinod Koul <vkoul@kernel.org>2024-12-04 18:57:08 +0530
commitbb70d1aae565fd52e6a50e643d1ad6e7d419c2a5 (patch)
tree08b7db5765ecc0d837a6cdee65c95cd95d2ab130 /tools/perf/scripts/python
parentphy: rockchip-pcie: Use regmap_read_poll_timeout() for PCIe reference clk PLL... (diff)
downloadlinux-bb70d1aae565fd52e6a50e643d1ad6e7d419c2a5.tar.gz
linux-bb70d1aae565fd52e6a50e643d1ad6e7d419c2a5.zip
phy: rockchip-pcie: Refactor mutex handling in rockchip_pcie_phy_power_off()
Refactor the mutex handling in the rockchip_pcie_phy_power_off() function to improve code readability and maintainability. The goto statement has been removed, and the mutex_unlock call is now directly within the conditional block. Return the result of reset_control_assert() function, with 0 indicating success and an error code indicating failure Signed-off-by: Anand Moon <linux.amoon@gmail.com> Link: https://lore.kernel.org/r/20241012071919.3726-5-linux.amoon@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions