From patchwork Mon Dec 12 20:53:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13071441 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BF107C00145 for ; Mon, 12 Dec 2022 20:59:19 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DF2FF2212; Mon, 12 Dec 2022 21:58:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DF2FF2212 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878757; bh=KVIdx677z1CmHj0pCRhJu1OwSjedx0eoXWO8TGKih94=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=uN4+GJsVhGri41AsCX0jC9HS8zMq7BJGWx+I9ul+zNJ22W5zIeID5gM5phQ+19fVN Mvx2wDHEkgHTI9d6b3TF4NawH4rHUv9RhzhhJqIGyW28lLw30I5i0LWn23gO/wGPrg ujI0qyhB19vA8wfopQiKyzDg43v148ZrOoM0KvSg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3E022F805C0; Mon, 12 Dec 2022 21:55:03 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 286AFF805BF; Mon, 12 Dec 2022 21:55:02 +0100 (CET) Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6BE01F805B6 for ; Mon, 12 Dec 2022 21:54:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6BE01F805B6 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4poW-00015r-CC; Mon, 12 Dec 2022 21:54:16 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1p4poP-00463n-C6; Mon, 12 Dec 2022 21:54:10 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poP-004ahQ-9A; Mon, 12 Dec 2022 21:54:09 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 00/15] ASoC: Drop empty platform remove functions Date: Mon, 12 Dec 2022 21:53:51 +0100 Message-Id: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2095; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=OFeqJ5svHAr/6hba7RW1SC7E2lDk/APU5pVRHLqjYsA=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5S23A7EIBbyukC8k3+T+EIiTmhgI0FDjj7wlAUk RNtfwL6JATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eUtgAKCRDB/BR4rcrsCRkKB/ 0RocMtKm8RInXzqBHwgBSH+aR0V7IsoOvm16jXsy9Dv9EgnYNDvRRmIGPNaO0LC30aWAvxnfhP0uPp Ox+7L3CHxr2zxph8r6jPlgAvVhd1Thh1/HchzGNBlG+pNY+ep6gu+BMIlC5jYJKl1SPN/HMeGplBLk r1A6+buc3YrELz1LP7EWYvG4THqQE7pclc+ctKGsBOI7gdjHWQT+kl+1jRO/z9vVLYQkaw4DPrJDna RPXShpl/FrNfu0rUSqaxB2ASjraGXjcrmoUL2oKW516i3FQ1eH4QyHdzlHHkzwhdh/S3ws7xMHUJU6 G42vUPw6mdGhNF9NeYA//uUqA04upf X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Baluta , alsa-devel@alsa-project.org, Alexandre Belloni , Ranjani Sridharan , Bard Liao , sound-open-firmware@alsa-project.org, Lars-Peter Clausen , Robert Jarzmik , Takashi Iwai , Pierre-Louis Bossart , Jiaxin Yu , Codrin Ciubotariu , Charles Keepax , =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= , Haojian Zhuang , Peter Ujfalusi , linux-arm-kernel@lists.infradead.org, Kai Vehmanen , Nicolas Ferre , =?utf-8?q?Nuno_S=C3=A1?= , kernel@pengutronix.de, Claudiu Beznea , Daniel Mack Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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. Best regards Uwe Uwe Kleine-König (15): ASoC: pxa: Drop empty platform remove function ASoC: amd: Drop empty platform remove function ASoC: atmel-classd: Drop empty platform remove function ASoC: atmel-pdmic: Drop empty platform remove function ASoC: 88pm860x: Drop empty platform remove function ASoC: ac97: Drop empty platform remove function ASoC: adau7002: Drop empty platform remove function ASoC: bt-sco: Drop empty platform remove function ASoC: cq93vc: Drop empty platform remove function ASoC: mc13783: Drop empty platform remove function ASoC: wl1273: Drop empty platform remove function ASoC: pxa: e740_wm9705: Drop empty platform remove function ASoC: pxa: e750_wm9705: Drop empty platform remove function ASoC: pxa: e800_wm9712: Drop empty platform remove function ASoC: SOF: nocodec: Drop empty platform remove function sound/soc/amd/raven/acp3x-i2s.c | 8 -------- sound/soc/atmel/atmel-classd.c | 6 ------ sound/soc/atmel/atmel-pdmic.c | 6 ------ sound/soc/codecs/88pm860x-codec.c | 6 ------ sound/soc/codecs/ac97.c | 6 ------ sound/soc/codecs/adau7002.c | 6 ------ sound/soc/codecs/bt-sco.c | 6 ------ sound/soc/codecs/cq93vc.c | 6 ------ sound/soc/codecs/mc13783.c | 6 ------ sound/soc/codecs/wl1273.c | 6 ------ sound/soc/pxa/e740_wm9705.c | 6 ------ sound/soc/pxa/e750_wm9705.c | 6 ------ sound/soc/pxa/e800_wm9712.c | 6 ------ sound/soc/pxa/spitz.c | 6 ------ sound/soc/sof/nocodec.c | 6 ------ 15 files changed, 92 deletions(-) base-commit: 3a28c2c89f4b412b648761430720d40a8dc326ef