ASoC: codecs: max98390: simplify getting the adapter of a client
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 18 Sep 2021 21:35:52 +0000 (23:35 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 20 Sep 2021 14:46:40 +0000 (15:46 +0100)
commit0f9a84b20f14f8a5039594493a1b6f9c49bf2995
tree605bb9a9846f85a4ed623db238ae960be4e1dbf3
parent5374b9215dbe93e22a0f51b111ca3e83f9b58e1a
ASoC: codecs: max98390: simplify getting the adapter of a client

We have a dedicated pointer for that, so use it. Much easier to read and
less computation involved.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20210918213553.14514-2-wsa+renesas@sang-engineering.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98390.c