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

ASoC: wl1273: 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-12-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

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

-6
-6
sound/soc/codecs/wl1273.c
··· 484 484 &wl1273_dai, 1); 485 485 } 486 486 487 - static int wl1273_platform_remove(struct platform_device *pdev) 488 - { 489 - return 0; 490 - } 491 - 492 487 MODULE_ALIAS("platform:wl1273-codec"); 493 488 494 489 static struct platform_driver wl1273_platform_driver = { ··· 491 496 .name = "wl1273-codec", 492 497 }, 493 498 .probe = wl1273_platform_probe, 494 - .remove = wl1273_platform_remove, 495 499 }; 496 500 497 501 module_platform_driver(wl1273_platform_driver);