summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAnand Moon <linux.amoon@gmail.com>2024-10-12 12:49:08 +0530
committerVinod Koul <vkoul@kernel.org>2024-12-04 18:57:08 +0530
commitc90a7a685a5d90228cedf7a5068f50b3da23ddfc (patch)
tree3d5bd55da4ad4dc090d86d0c1bb1026327eb1124 /net
parent96522eeb8735449957272e9c6f8ea3b72dcbdeb8 (diff)
phy: rockchip-pcie: Use guard notation when acquiring mutex
Using guard notation makes the code more compact and error handling more robust by ensuring that mutexes are released in all code paths when control leaves critical section. Signed-off-by: Anand Moon <linux.amoon@gmail.com> Link: https://lore.kernel.org/r/20241012071919.3726-7-linux.amoon@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions