diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-03 00:53:49 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-03 01:35:52 +0300 |
commit | 4aad1d9471108a5023e224422b2522323521174c (patch) | |
tree | 0d6b655c46ec44d1981ae2bc751ef899a866761b /sound/soc/soc-component.c | |
parent | d06432b04603ea6f1b99bc0a933aa264b2fb6f4b (diff) | |
download | linux-4aad1d9471108a5023e224422b2522323521174c.tar.xz |
ASoC: PCM6240: Use of_property_read_reg()
Replace the open-coded parsing of "reg" with of_property_read_reg().
The #ifdef is also easily replaced with IS_ENABLED().
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240702215349.839350-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-component.c')
0 files changed, 0 insertions, 0 deletions