Commit e4fcf15
soundwire: intel: simplify with cleanup.h
Allocate the memory with scoped/cleanup.h to reduce error handling and
make the code a bit simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240703-soundwire-cleanup-h-v1-5-24fa0dbb948f@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent ba874a8 commit e4fcf15
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | | - | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
727 | 726 | | |
728 | 727 | | |
729 | 728 | | |
730 | | - | |
731 | 729 | | |
732 | 730 | | |
733 | 731 | | |
| |||
771 | 769 | | |
772 | 770 | | |
773 | 771 | | |
774 | | - | |
| 772 | + | |
| 773 | + | |
775 | 774 | | |
776 | 775 | | |
777 | 776 | | |
| |||
783 | 782 | | |
784 | 783 | | |
785 | 784 | | |
786 | | - | |
787 | | - | |
788 | 785 | | |
789 | 786 | | |
790 | 787 | | |
| |||
0 commit comments