Loading sound/soc/pxa/mmp-sspa.c +2 −3 Original line number Diff line number Diff line Loading @@ -455,7 +455,7 @@ static int asoc_mmp_sspa_probe(struct platform_device *pdev) priv->dai_fmt = (unsigned int) -1; platform_set_drvdata(pdev, priv); return snd_soc_register_component(&pdev->dev, &mmp_sspa_component, return devm_snd_soc_register_component(&pdev->dev, &mmp_sspa_component, &mmp_sspa_dai, 1); } Loading @@ -466,7 +466,6 @@ static int asoc_mmp_sspa_remove(struct platform_device *pdev) clk_disable(priv->audio_clk); clk_put(priv->audio_clk); clk_put(priv->sysclk); snd_soc_unregister_component(&pdev->dev); return 0; } Loading Loading
sound/soc/pxa/mmp-sspa.c +2 −3 Original line number Diff line number Diff line Loading @@ -455,7 +455,7 @@ static int asoc_mmp_sspa_probe(struct platform_device *pdev) priv->dai_fmt = (unsigned int) -1; platform_set_drvdata(pdev, priv); return snd_soc_register_component(&pdev->dev, &mmp_sspa_component, return devm_snd_soc_register_component(&pdev->dev, &mmp_sspa_component, &mmp_sspa_dai, 1); } Loading @@ -466,7 +466,6 @@ static int asoc_mmp_sspa_remove(struct platform_device *pdev) clk_disable(priv->audio_clk); clk_put(priv->audio_clk); clk_put(priv->sysclk); snd_soc_unregister_component(&pdev->dev); return 0; } Loading