Commit c79a7ca
PCI: mvebu: Use devm_add_action_or_reset() instead of devm_add_action()
Replace devm_add_action() with devm_add_action_or_reset() to avoid
explicitly dropping the 'port->clk' reference in error path.
Signed-off-by: Salah Triki <[email protected]>
[mani: reworded commit subject and description]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Link: https://patch.msgid.link/aHsgYALHfQbrgq0t@pc1 parent 19272b3 commit c79a7ca
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1353 | 1353 | | |
1354 | 1354 | | |
1355 | 1355 | | |
1356 | | - | |
1357 | | - | |
1358 | | - | |
| 1356 | + | |
| 1357 | + | |
1359 | 1358 | | |
1360 | | - | |
1361 | 1359 | | |
1362 | 1360 | | |
1363 | 1361 | | |
| |||
0 commit comments