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)
commitab78322a0dc8e5e472ff66ac7e18c94acc17587f
tree131fa2e92db19f9b4c7ccaf3dc47bf3b6b704b6e
parentc26a5289e86597e8826ad3093ad71ca0d5d9510a
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