Commit 5cf6c22
Paolo Abeni
Merge branch 'fix-cpts-release-action-in-am65-cpts-driver'
Siddharth Vadapalli says:
====================
Fix CPTS release action in am65-cpts driver
Delete unreachable code in am65_cpsw_init_cpts() function, which was
Reported-by: Leon Romanovsky <[email protected]>
at:
https://lore.kernel.org/r/Y8aHwSnVK9+sAb24@unreal
Remove the devm action associated with am65_cpts_release() and invoke the
function directly on the cleanup and exit paths.
v4:
https://lore.kernel.org/r/[email protected]/
v3:
https://lore.kernel.org/r/[email protected]/
v2:
https://lore.kernel.org/r/[email protected]/
v1:
https://lore.kernel.org/r/[email protected]/
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>File tree
3 files changed
+12
-15
lines changed- drivers/net/ethernet/ti
3 files changed
+12
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1937 | 1937 | | |
1938 | 1938 | | |
1939 | 1939 | | |
1940 | | - | |
1941 | | - | |
1942 | | - | |
1943 | | - | |
1944 | | - | |
1945 | 1940 | | |
1946 | 1941 | | |
1947 | 1942 | | |
| |||
2919 | 2914 | | |
2920 | 2915 | | |
2921 | 2916 | | |
| 2917 | + | |
2922 | 2918 | | |
2923 | 2919 | | |
2924 | 2920 | | |
| |||
2947 | 2943 | | |
2948 | 2944 | | |
2949 | 2945 | | |
| 2946 | + | |
2950 | 2947 | | |
2951 | 2948 | | |
2952 | 2949 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
| 1055 | + | |
1056 | 1056 | | |
1057 | | - | |
1058 | | - | |
1059 | 1057 | | |
1060 | 1058 | | |
1061 | 1059 | | |
1062 | 1060 | | |
| 1061 | + | |
1063 | 1062 | | |
1064 | 1063 | | |
1065 | 1064 | | |
| |||
1139 | 1138 | | |
1140 | 1139 | | |
1141 | 1140 | | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | 1141 | | |
1149 | 1142 | | |
1150 | 1143 | | |
1151 | 1144 | | |
1152 | 1145 | | |
1153 | | - | |
| 1146 | + | |
1154 | 1147 | | |
1155 | 1148 | | |
1156 | 1149 | | |
| |||
1159 | 1152 | | |
1160 | 1153 | | |
1161 | 1154 | | |
| 1155 | + | |
| 1156 | + | |
1162 | 1157 | | |
1163 | 1158 | | |
1164 | 1159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments