From: Uwe Kleine-König Date: Mon, 12 Dec 2022 20:53:56 +0000 (+0100) Subject: ASoC: 88pm860x: Drop empty platform remove function X-Git-Tag: v6.6.7~3340^2~4^2~184^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fbfe1d1acf596b5ba9ddbb145c7be6a09b2f1eb;p=platform%2Fkernel%2Flinux-starfive.git ASoC: 88pm860x: Drop empty platform remove function A remove callback just returning 0 is equivalent to no remove callback at all. So drop the useless function. Signed-off-by: Uwe Kleine-König Link: https://lore.kernel.org/r/20221212205406.3771071-6-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c index fc65283..3574c68 100644 --- a/sound/soc/codecs/88pm860x-codec.c +++ b/sound/soc/codecs/88pm860x-codec.c @@ -1386,17 +1386,11 @@ static int pm860x_codec_probe(struct platform_device *pdev) return ret; } -static int pm860x_codec_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver pm860x_codec_driver = { .driver = { .name = "88pm860x-codec", }, .probe = pm860x_codec_probe, - .remove = pm860x_codec_remove, }; module_platform_driver(pm860x_codec_driver);