Unverified Commit 3e92ea2a authored by Maso Huang's avatar Maso Huang Committed by Mark Brown
Browse files

ASoC: mediatek: mt7986: drop the remove callback of mt7986_wm8960

parent 4fc4db7a
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -163,15 +163,6 @@ static int mt7986_wm8960_machine_probe(struct platform_device *pdev)
	return ret;
}

static void mt7986_wm8960_machine_remove(struct platform_device *pdev)
{
	struct snd_soc_card *card = platform_get_drvdata(pdev);
	struct mt7986_wm8960_priv *priv = snd_soc_card_get_drvdata(card);

	of_node_put(priv->codec_node);
	of_node_put(priv->platform_node);
}

static const struct of_device_id mt7986_wm8960_machine_dt_match[] = {
	{.compatible = "mediatek,mt7986-wm8960-sound"},
	{ /* sentinel */ }
@@ -184,7 +175,6 @@ static struct platform_driver mt7986_wm8960_machine = {
		.of_match_table = mt7986_wm8960_machine_dt_match,
	},
	.probe = mt7986_wm8960_machine_probe,
	.remove_new = mt7986_wm8960_machine_remove,
};

module_platform_driver(mt7986_wm8960_machine);