]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: Use device_property API instead of of_property
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 26 Apr 2021 15:53:02 +0000 (16:53 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 May 2021 16:06:09 +0000 (17:06 +0100)
commit59a1f00ed57c5aafc222b8cbec0488f3355ac8da
tree131fa2e92db19f9b4c7ccaf3dc47bf3b6b704b6e
parent6fb11667054d513e04fef9d1737fd6e58b13a3e7
ASoC: cs42l42: Use device_property API instead of of_property

Use the device_property APIs so that the code will work on devicetree
and ACPI systems.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210426155303.853236-2-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c