Commit f318522
pmdomain: qcom: rpmpd: Simplify locking with guard()
Simplify error handling (less gotos) over locks with guard().
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>1 parent 005d29a commit f318522
1 file changed
+6
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
1024 | 1025 | | |
1025 | 1026 | | |
1026 | 1027 | | |
1027 | | - | |
| 1028 | + | |
1028 | 1029 | | |
1029 | 1030 | | |
1030 | 1031 | | |
1031 | | - | |
| 1032 | + | |
1032 | 1033 | | |
1033 | 1034 | | |
1034 | 1035 | | |
1035 | 1036 | | |
1036 | 1037 | | |
1037 | 1038 | | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
1041 | 1039 | | |
1042 | 1040 | | |
1043 | 1041 | | |
| |||
1060 | 1058 | | |
1061 | 1059 | | |
1062 | 1060 | | |
1063 | | - | |
1064 | 1061 | | |
1065 | 1062 | | |
1066 | 1063 | | |
1067 | 1064 | | |
1068 | 1065 | | |
1069 | | - | |
| 1066 | + | |
1070 | 1067 | | |
1071 | 1068 | | |
1072 | 1069 | | |
1073 | 1070 | | |
1074 | 1071 | | |
1075 | 1072 | | |
1076 | | - | |
| 1073 | + | |
1077 | 1074 | | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
| 1075 | + | |
1084 | 1076 | | |
1085 | 1077 | | |
1086 | 1078 | | |
| |||
0 commit comments