Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: mc13783: 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 <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221212205406.3771071-11-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Uwe Kleine-König and committed by
Mark Brown
140212ae 61f62f1f

-6
-6
sound/soc/codecs/mc13783.c
··· 776 776 return ret; 777 777 } 778 778 779 - static int mc13783_codec_remove(struct platform_device *pdev) 780 - { 781 - return 0; 782 - } 783 - 784 779 static struct platform_driver mc13783_codec_driver = { 785 780 .driver = { 786 781 .name = "mc13783-codec", 787 782 }, 788 - .remove = mc13783_codec_remove, 789 783 }; 790 784 module_platform_driver_probe(mc13783_codec_driver, mc13783_codec_probe); 791 785