Follow PCI-based format (10ECxxxx) for ACPI IDs by adding relevant
entries to the existing table.
While at it, there shall be no comma after the terminator entry and
initializing fields with 0 for statically defined structs is redundant.
Signed-off-by: Cezary Rojewski <cezary.rojewski@xxxxxxxxx>
---
sound/soc/codecs/rt5682s.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/rt5682s.c b/sound/soc/codecs/rt5682s.c
index ce2e88e066f3..5ad0cc3fab7f 100644
--- a/sound/soc/codecs/rt5682s.c
+++ b/sound/soc/codecs/rt5682s.c
@@ -3310,13 +3310,14 @@ static void rt5682s_i2c_remove(struct i2c_client *client)
static const struct of_device_id rt5682s_of_match[] = {
{.compatible = "realtek,rt5682s"},
- {},
+ {}
};
MODULE_DEVICE_TABLE(of, rt5682s_of_match);
static const struct acpi_device_id rt5682s_acpi_match[] = {
- {"RTL5682", 0,},
- {},
+ { "RTL5682" },
+ { "10EC5682" },
+ {}
};
MODULE_DEVICE_TABLE(acpi, rt5682s_acpi_match);
--
2.25.1
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]