Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: codecs: rt5668: 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.

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-18-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Cezary Rojewski and committed by
Mark Brown
a06ef775 b89d9d26

+3 -3
+3 -3
sound/soc/codecs/rt5668.c
··· 2598 2598 #ifdef CONFIG_OF 2599 2599 static const struct of_device_id rt5668_of_match[] = { 2600 2600 {.compatible = "realtek,rt5668b"}, 2601 - {}, 2601 + { } 2602 2602 }; 2603 2603 MODULE_DEVICE_TABLE(of, rt5668_of_match); 2604 2604 #endif 2605 2605 2606 2606 #ifdef CONFIG_ACPI 2607 2607 static const struct acpi_device_id rt5668_acpi_match[] = { 2608 - {"10EC5668", 0,}, 2609 - {}, 2608 + { "10EC5668" }, 2609 + { } 2610 2610 }; 2611 2611 MODULE_DEVICE_TABLE(acpi, rt5668_acpi_match); 2612 2612 #endif