Commit 528a0da3e55b for kernel

commit 528a0da3e55b24d1113b3658e94cf432e0020913
Author: Alvin Šipraga <alvin.sipraga@analog.com>
Date:   Mon Sep 14 12:12:36 2026 +0200

    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>

diff --git a/sound/soc/codecs/adau1977-spi.c b/sound/soc/codecs/adau1977-spi.c
index 878cde9d1014..c98da5ba9e9e 100644
--- a/sound/soc/codecs/adau1977-spi.c
+++ b/sound/soc/codecs/adau1977-spi.c
@@ -53,18 +53,18 @@ static const struct spi_device_id adau1977_spi_ids[] = {
 };
 MODULE_DEVICE_TABLE(spi, adau1977_spi_ids);

-static const struct of_device_id adau1977_spi_of_match[] __maybe_unused = {
-        { .compatible = "adi,adau1977" },
-        { .compatible = "adi,adau1978" },
-        { .compatible = "adi,adau1979" },
-        { },
+static const struct of_device_id adau1977_spi_of_match[] = {
+	{ .compatible = "adi,adau1977" },
+	{ .compatible = "adi,adau1978" },
+	{ .compatible = "adi,adau1979" },
+	{ },
 };
 MODULE_DEVICE_TABLE(of, adau1977_spi_of_match);

 static struct spi_driver adau1977_spi_driver = {
 	.driver = {
 		.name = "adau1977",
-		.of_match_table = of_match_ptr(adau1977_spi_of_match),
+		.of_match_table = adau1977_spi_of_match,
 	},
 	.probe = adau1977_spi_probe,
 	.id_table = adau1977_spi_ids,