diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2025-02-26 12:26:08 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-03 12:51:40 +0000 |
commit | 9aa85f433bb1f51b599278b29b3d6224ca5147cf (patch) | |
tree | 9e7cae7e167cde5fa111ab513b99f9bab79d7e3d | |
parent | a06ef7754b8e6f45d78c0015c3edb2117945adfb (diff) |
ASoC: codecs: rt5670: Fix definition of device_id tables
There shall be no comma after the terminator entry and initializing
fields with 0 for statically defined structs is redundant.
While at it, sort the IDs alphabetically.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250226112612.166989-19-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/rt5670.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index 30bf96c35b58..c18fc86a2513 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -2880,10 +2880,10 @@ MODULE_DEVICE_TABLE(i2c, rt5670_i2c_id); #ifdef CONFIG_ACPI static const struct acpi_device_id rt5670_acpi_match[] = { - { "10EC5670", 0}, - { "10EC5672", 0}, - { "10EC5640", 0}, /* quirk */ - { }, + { "10EC5640" }, /* quirk */ + { "10EC5670" }, + { "10EC5672" }, + { } }; MODULE_DEVICE_TABLE(acpi, rt5670_acpi_match); #endif |