aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2025-02-26 12:26:03 +0100
committerMark Brown <broonie@kernel.org>2025-03-03 12:51:35 +0000
commit24a4302478118ff1caf39fb48809c0127f608664 (patch)
tree469151db55f934063a07ff660de5dd4236f65629
parentASoC: codecs: rt5651: Fix definition of device_id tables (diff)
downloadwireguard-linux-24a4302478118ff1caf39fb48809c0127f608664.tar.xz
wireguard-linux-24a4302478118ff1caf39fb48809c0127f608664.zip
ASoC: codecs: rt5659: 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-14-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r--sound/soc/codecs/rt5659.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/rt5659.c b/sound/soc/codecs/rt5659.c
index a2652fa6e1d7..e5e8ccc604eb 100644
--- a/sound/soc/codecs/rt5659.c
+++ b/sound/soc/codecs/rt5659.c
@@ -4315,16 +4315,16 @@ static void rt5659_i2c_shutdown(struct i2c_client *client)
static const struct of_device_id rt5659_of_match[] = {
{ .compatible = "realtek,rt5658", },
{ .compatible = "realtek,rt5659", },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, rt5659_of_match);
#endif
#ifdef CONFIG_ACPI
static const struct acpi_device_id rt5659_acpi_match[] = {
- { "10EC5658", 0, },
- { "10EC5659", 0, },
- { },
+ { "10EC5658" },
+ { "10EC5659" },
+ { }
};
MODULE_DEVICE_TABLE(acpi, rt5659_acpi_match);
#endif