summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAlvin Šipraga <alvin.sipraga@analog.com>2026-09-14 12:12:36 +0200
committerMark Brown <broonie@kernel.org>2026-09-16 20:09:55 +0100
commit528a0da3e55b24d1113b3658e94cf432e0020913 (patch)
tree9ef146ea3e132437b64b5d81580213d0367894cd /scripts/Makefile.thinlto
parent0030f62683d5061d43b80577b7ab27196f1adb4c (diff)
downloadlinux-stable-528a0da3e55b24d1113b3658e94cf432e0020913.tar.gz
linux-stable-528a0da3e55b24d1113b3658e94cf432e0020913.zip
ASoC: adau1977-spi: drop __maybe_unused and of_match_ptr()
Since commit 5ab23c7923a1 ("modpost: Create modalias for builtin modules") MODULE_DEVICE_TABLE() is enough to reference a match table and the data isn't discarded by the linker even when the driver is built-in and CONFIG_OF is disabled. Drop the of_match_ptr() wrapping so that OF matching keeps working regardless of CONFIG_OF. This also means we can drop __maybe_unused since it's always used. The entries in adau1977_spi_of_match were also erroneously indented with spaces - replace the indentation with tabs to conform with coding style. Signed-off-by: Alvin Šipraga <alvin.sipraga@analog.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://patch.msgid.link/20260914-asoc-adau1977-fixes-v1-2-aa2f0cabd728@analog.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions