ASoC: Intel: bytcr_rt5640: Get platform data via dev_get_platdata()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 7 Oct 2021 16:57:12 +0000 (19:57 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 11 Oct 2021 13:58:46 +0000 (14:58 +0100)
commite86c1893d6785a0f5e5d82cd161b991564720eaa
tree99112b4cd92e5de684fbde2293541d0f3fc77334
parent81a13ac7e3e490a76fafb7f62d1dd751ae94ca11
ASoC: Intel: bytcr_rt5640: Get platform data via dev_get_platdata()

Access to platform data via dev_get_platdata() getter to make code cleaner.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211007165715.27463-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c