From: Mark Brown Date: Tue, 27 Dec 2022 11:55:04 +0000 (+0000) Subject: ASoC: Drop empty platform remove functions X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ec380a34a44fcf501dace3072cddc41374f2e289;p=linux.git ASoC: Drop empty platform remove functions Merge series from Uwe Kleine-König : 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. --- ec380a34a44fcf501dace3072cddc41374f2e289