ASoC: Drop empty platform remove functions
authorMark Brown <broonie@kernel.org>
Tue, 27 Dec 2022 11:55:04 +0000 (11:55 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 27 Dec 2022 11:55:04 +0000 (11:55 +0000)
commitec380a34a44fcf501dace3072cddc41374f2e289
treec4fba563980d42b8f3db6c23895565c8d08b753f
parent35108d6df21484830a003d54c2d53ea88903100f
parent603d96c917b2e8c2146069bf7db1468fd87f800b
ASoC: Drop empty platform remove functions

Merge series from Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:

Hello,

this patch series removes all platform remove functions that only return
zero below sound/soc. There is no reason to have these, as the only
caller is platform core code doing:

        if (drv->remove) {
                int ret = drv->remove(dev);

                ...
        }

(in platform_remove()) and so having no remove function is both
equivalent and simpler.