2022-07-07 13:29:29

by Vijendar Mukunda

[permalink] [raw]
Subject: [PATCH 2/3] ASoC: amd: drop machine driver remove function

Drop machine driver remove() function.

Signed-off-by: Vijendar Mukunda <[email protected]>
---
sound/soc/amd/acp-es8336.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/sound/soc/amd/acp-es8336.c b/sound/soc/amd/acp-es8336.c
index 8ce26c9b3ead..90f4e5809c72 100644
--- a/sound/soc/amd/acp-es8336.c
+++ b/sound/soc/amd/acp-es8336.c
@@ -293,11 +293,6 @@ static int st_es8336_probe(struct platform_device *pdev)
return 0;
}

-static int st_es8336_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
#ifdef CONFIG_ACPI
static const struct acpi_device_id st_audio_acpi_match[] = {
{"AMDI8336", 0},
@@ -313,7 +308,6 @@ static struct platform_driver st_mach_driver = {
.pm = &snd_soc_pm_ops,
},
.probe = st_es8336_probe,
- .remove = st_es8336_remove,
};

module_platform_driver(st_mach_driver);
--
2.25.1