ALSA: hda: cs35l41: Drop wrong use of ACPI_PTR()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 12 Jul 2022 15:35:18 +0000 (18:35 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 13 Jul 2022 06:28:13 +0000 (08:28 +0200)
commit931c940fc5d96e5ef7a2188abfb14e7c3ab1290e
tree44f9e792f4cfc47e9b88e4fa5281e1fd5547427a
parentd60b05b4c7802b45c4f2ac003827384618a17bb4
ALSA: hda: cs35l41: Drop wrong use of ACPI_PTR()

ACPI_PTR() is more harmful than helpful. For example, in this case
if CONFIG_ACPI=n, the ID table left unused which is not what we want.

Instead of adding ifdeffery or attribute here and there, drop ACPI_PTR().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220712153519.35692-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda_i2c.c
sound/pci/hda/cs35l41_hda_spi.c