Now platform can be replaced to component, let's do it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
 }
 EXPORT_SYMBOL_GPL(idma_reg_addr_init);
 
-static const struct snd_soc_platform_driver asoc_idma_platform = {
+static const struct snd_soc_component_driver asoc_idma_platform = {
        .ops = &idma_ops,
        .pcm_new = idma_new,
        .pcm_free = idma_free,
        if (idma_irq < 0)
                return idma_irq;
 
-       return devm_snd_soc_register_platform(&pdev->dev, &asoc_idma_platform);
+       return devm_snd_soc_register_component(&pdev->dev, &asoc_idma_platform,
+                                              NULL, 0);
 }
 
 static struct platform_driver asoc_idma_driver = {