summaryrefslogtreecommitdiff
path: root/drivers/fpga/tests
diff options
context:
space:
mode:
authorAnand Moon <linux.amoon@gmail.com>2024-10-12 10:19:08 +0300
committerVinod Koul <vkoul@kernel.org>2024-12-04 16:27:08 +0300
commitc90a7a685a5d90228cedf7a5068f50b3da23ddfc (patch)
tree3d5bd55da4ad4dc090d86d0c1bb1026327eb1124 /drivers/fpga/tests
parent96522eeb8735449957272e9c6f8ea3b72dcbdeb8 (diff)
downloadlinux-c90a7a685a5d90228cedf7a5068f50b3da23ddfc.tar.xz
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 'drivers/fpga/tests')
0 files changed, 0 insertions, 0 deletions