ASoC: qcom: lpass-cpu: Use platform_get_resource
authorRohit kumar <rohitkr@codeaurora.org>
Fri, 14 Aug 2020 10:53:06 +0000 (16:23 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2020 13:39:32 +0000 (14:39 +0100)
commit93dbbd657167a796583506834cc03950ce25bce1
tree361cbfb475ca2c5561389ce266e340757c9d59d7
parent24caf8d9eb108c52e144bcc7af94bb1edcb70700
ASoC: qcom: lpass-cpu: Use platform_get_resource

platform_get_resource_byname() is used when there
is list of reg entries. As lpass-cpu node has only
one reg entry, use platform_get_resource() instead.

Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/1597402388-14112-11-git-send-email-rohitkr@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-cpu.c