ASoC: Intel: use MODULE_DEVICE_TABLE with platform_device_id tables
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 21 Jun 2021 19:40:56 +0000 (14:40 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 22 Jun 2021 11:47:09 +0000 (12:47 +0100)
commit53b98536fb64f1b6ff5a1b2cfc36bbfa90619414
treeda5be6609c1aac12807e1b57c14f57bb247061fe
parent0c52d3e222889138e6a8dd1c1ad05fcc41c6bdfa
ASoC: Intel: use MODULE_DEVICE_TABLE with platform_device_id tables

When we have a platform_device_id table, we can use
MODULE_DEVICE_TABLE to automatically generate the modalias. As a
result we can remove the manual insertion of MODULE_ALIAS.

Reported-by: Hulk Robot <hulkci@huawei.com>
Suggested-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210621194057.21711-10-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
15 files changed:
sound/soc/intel/boards/bxt_da7219_max98357a.c
sound/soc/intel/boards/bxt_rt298.c
sound/soc/intel/boards/ehl_rt5660.c
sound/soc/intel/boards/glk_rt5682_max98357a.c
sound/soc/intel/boards/kbl_da7219_max98357a.c
sound/soc/intel/boards/kbl_da7219_max98927.c
sound/soc/intel/boards/kbl_rt5660.c
sound/soc/intel/boards/kbl_rt5663_max98927.c
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
sound/soc/intel/boards/skl_nau88l25_max98357a.c
sound/soc/intel/boards/skl_nau88l25_ssm4567.c
sound/soc/intel/boards/skl_rt286.c
sound/soc/intel/boards/sof_cs42l42.c
sound/soc/intel/boards/sof_da7219_max98373.c
sound/soc/intel/boards/sof_rt5682.c