]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: davinci-mcasp: remove unneeded #ifdef
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Fri, 5 Dec 2025 09:05:34 +0000 (10:05 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 14 Dec 2025 10:37:33 +0000 (19:37 +0900)
commit0c1db366642172e85ee98eeed7c127b80eb609a3
treec8fb370a6e671b23c6bcd9f43eb95bd0f0c94d25
parent180cdb96e821e30528b02708b927c93daa0ed40b
ASoC: davinci-mcasp: remove unneeded #ifdef

The enablement of the CONFIG_OF_GPIO switch has nothing to do with the
"gpio-controller" property which may as well come from software nodes
and GPIOLIB can still be enabled separately.

This driver does not call any symbols from gpiolib-of.h so has no need
to check this option at all. Just use the generic device property
accessor.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251205090534.27845-1-bartosz.golaszewski@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-mcasp.c