Commit b39f771
ASoC: audio-graph-card2: Use cleanup.h instead of devm_kfree()
Allocate the memory with scoped/cleanup.h, instead of devm interface, to
make the code more obvious that memory is not used outside this scope.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20240703-asoc-cleanup-h-v1-7-71219dfd0aef@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 5725c16 commit b39f771
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
1353 | | - | |
1354 | 1353 | | |
1355 | 1354 | | |
1356 | | - | |
| 1355 | + | |
1357 | 1356 | | |
1358 | 1357 | | |
1359 | 1358 | | |
| |||
1417 | 1416 | | |
1418 | 1417 | | |
1419 | 1418 | | |
1420 | | - | |
1421 | | - | |
1422 | 1419 | | |
1423 | 1420 | | |
1424 | 1421 | | |
| |||
0 commit comments