]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: rt5645: Refactor rt5645_parse_dt()
authorHans de Goede <hdegoede@redhat.com>
Sun, 26 Nov 2023 21:40:20 +0000 (22:40 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 21 Dec 2023 21:00:44 +0000 (21:00 +0000)
commitf72a9c2b8f1487181302d69fb82d5c76226be3fb
treed441442e2da2df7f7c036add1f00b7977c772683
parent8f28e1996a786a7538d65e5258d3eecb92943673
ASoC: rt5645: Refactor rt5645_parse_dt()

Refactor rt5645_parse_dt(), make it take a pointer to
struct rt5645_platform_data as argument instead of passing in
the complete rt5645_priv struct.

While at it also make it void since it always succeeds.

This is a preparation patch for factoring the code to get
the platform-data out into a separate helper function.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://msgid.link/r/20231126214024.300505-4-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c