diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-03 00:54:01 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-03 01:35:53 +0300 |
commit | 31a45f9190b5b4f5cd8cdec8471babd5215eee04 (patch) | |
tree | f84f0dfc909015309748dd7bbe184872b26ec248 /sound/soc/soc-component.c | |
parent | 4aad1d9471108a5023e224422b2522323521174c (diff) | |
download | linux-31a45f9190b5b4f5cd8cdec8471babd5215eee04.tar.xz |
ASoC: tas2781: 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/20240702215402.839673-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