diff options
author | Shane.Chien <shane.chien@mediatek.com> | 2020-11-11 12:14:56 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-11 12:35:11 +0000 |
commit | 6b0e12a5c668c6b77c3e6d6c55c3ae7ed8bf5bd5 (patch) | |
tree | 646d63d0afa9e0ca683c7058e0ac345a2c6abf7d /sound/soc/codecs/mt6359.c | |
parent | 34d3daba23399440dedddd0f9ccd6c1057314139 (diff) |
ASoC: Remove mt6359_platform_driver_remove
remove mt6359_platform_driver_remove due to it is
useless.
Signed-off-by: Shane.Chien <shane.chien@mediatek.com>
Link: https://lore.kernel.org/r/1605068096-12587-1-git-send-email-shane.chien@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/mt6359.c')
-rw-r--r-- | sound/soc/codecs/mt6359.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/soc/codecs/mt6359.c b/sound/soc/codecs/mt6359.c index ecdfd5732075..d37dbd2b50c2 100644 --- a/sound/soc/codecs/mt6359.c +++ b/sound/soc/codecs/mt6359.c @@ -2817,23 +2817,11 @@ static int mt6359_platform_driver_probe(struct platform_device *pdev) ARRAY_SIZE(mt6359_dai_driver)); } -static int mt6359_platform_driver_remove(struct platform_device *pdev) -{ - struct mt6359_priv *priv = dev_get_drvdata(&pdev->dev); - int ret; - - dev_dbg(&pdev->dev, "%s(), dev name %s\n", - __func__, dev_name(&pdev->dev)); - - return 0; -} - static struct platform_driver mt6359_platform_driver = { .driver = { .name = "mt6359-sound", }, .probe = mt6359_platform_driver_probe, - .remove = mt6359_platform_driver_remove, }; module_platform_driver(mt6359_platform_driver) |