Commit ac7976b6 authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Greg Kroah-Hartman
Browse files

ASoC: tas2781: Use of_property_read_reg()



[ Upstream commit 31a45f91 ]

Replace the open-coded parsing of "reg" with of_property_read_reg().
The #ifdef is also easily replaced with IS_ENABLED().

Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240702215402.839673-1-robh@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Stable-dep-of: c2c0b67d ("ASoC: tas2781-i2c: Drop weird GPIO code")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c0f65218
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment