Re: [PATCH 3/3] ASoC: stm32: add mdf dai support
From: Krzysztof Kozlowski
Date: Fri Oct 02 2026 - 05:30:40 EST
On Thu, Oct 01, 2026 at 04:56:47PM +0200, Olivier Moysan wrote:
> +static struct platform_driver stm32_amdf_driver = {
> + .driver = {
> + .name = STM32_AMDF_DRV_NAME,
> + .of_match_table = stm32_amdf_of_match,
> + },
> + .probe = stm32_amdf_probe,
> + .remove = stm32_amdf_remove,
> +};
> +
> +module_platform_driver(stm32_amdf_driver);
> +
> +MODULE_DESCRIPTION("stm32 MDF DAI driver");
> +MODULE_AUTHOR("Olivier Moysan <olivier.moysan@xxxxxxxxxxx>");
> +MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:" STM32_AMDF_DRV_NAME);
Why do you need this? You have OF table, no? Does it mean that OF table
is redundant and should be dropped?
Best regards,
Krzysztof