diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-07-01 09:39:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-03 21:43:42 +0100 |
commit | 67820eb9f4895791da46df42ff7942dfc1353bb2 (patch) | |
tree | 1656b13ba8dd02ddc38769388f9d73e0807b0e43 /fs | |
parent | c72585d79249fb07ca3e3c91022e312d21f20f40 (diff) |
ASoC: codecs: lpass-wsa-macro: Simplify with cleanup.h
Driver's probe() has two allocations which are needed only within the
probe() itself - for devm_regmap_init_mmio().
Usage of devm interface is a bit misleading here, because these can be
freed right after each scope finishes.
This makes the code a bit more obvious and self documenting.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240701-b4-qcom-audio-lpass-codec-cleanups-v3-6-6d98d4dd1ef5@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions