From patchwork Mon Dec 12 20:53:52 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: 633252 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 276BDC4332F for ; Mon, 12 Dec 2022 20:58:04 +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 5B1E217E6; Mon, 12 Dec 2022 21:57:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5B1E217E6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878682; bh=uJLtbFtHBBMQCLXRPUzbdo6bPxcrQVso0t3nAmy1gcU=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=HJKKZPeiaiuJPJcp8tOHzAiTEda3kh2QH9cQyWxKZPwxlgVCA19kKBkTIxdcttV2h tHMcbhazZOE8MQtrpdZwk041+3mvp6iWthUhHBRqPFjVxR6Vo0fBK7QcM2yOi2cd8F jm5rlvStpbwLaGs17qc3AzLGcfg2y9Xi5NOEe9UY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 03ABEF80588; Mon, 12 Dec 2022 21:54:33 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0980CF80570; Mon, 12 Dec 2022 21:54:29 +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 213BDF804B4 for ; Mon, 12 Dec 2022 21:54:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 213BDF804B4 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 1p4poT-00015s-CY; Mon, 12 Dec 2022 21:54:13 +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 1p4poQ-00463s-4i; 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-004ahT-Vr; Mon, 12 Dec 2022 21:54:10 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 01/15] ASoC: pxa: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:53:52 +0100 Message-Id: <20221212205406.3771071-2-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=836; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=uJLtbFtHBBMQCLXRPUzbdo6bPxcrQVso0t3nAmy1gcU=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5S6Djlqr9YwFf4OJ37Rm/0aX1BVR5eUBaZzIMOw V3KZiyeJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eUugAKCRDB/BR4rcrsCdd4B/ 9Gbny/SVr6+K1yUh4PHboLtfmc6HGIE7iCeMJpx2PZd/pZyCcJTW7PfOTaT9JmOUOCJXkrOceRJl1z SL/SzeS9/BHmoQCez+Dd+asaxlK5eXgQbyQ++fCTzMjgiAZXD8c74bNdF3PGv1gX1kRTXwkIAIN5kq ZTqUXfm6FjrXWDaidgrhUSVAtumwCF4BjfnErXMaEB1bR731W3oF3nEUBqu4GENbL3zrdbJJr9010i CjGg68LnXJSSz87673zxB/BKRuQpVwMteMKoPlFbJ4xjTTpxM6fDo2UPnuruhpfi6crMH9xKSJceoq sIxT6SepbLRbs9qe+MCSUEovQTHkJ2 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: alsa-devel@alsa-project.org, Takashi Iwai , Haojian Zhuang , Daniel Mack , kernel@pengutronix.de, Robert Jarzmik , linux-arm-kernel@lists.infradead.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/pxa/spitz.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/pxa/spitz.c b/sound/soc/pxa/spitz.c index 44303b6eb228..70442315f5c5 100644 --- a/sound/soc/pxa/spitz.c +++ b/sound/soc/pxa/spitz.c @@ -306,18 +306,12 @@ static int spitz_probe(struct platform_device *pdev) return ret; } -static int spitz_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver spitz_driver = { .driver = { .name = "spitz-audio", .pm = &snd_soc_pm_ops, }, .probe = spitz_probe, - .remove = spitz_remove, }; module_platform_driver(spitz_driver); From patchwork Mon Dec 12 20:53:53 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: 633554 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 EDC8DC4332F for ; Mon, 12 Dec 2022 20:55:37 +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 C4BE9198F; Mon, 12 Dec 2022 21:54:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C4BE9198F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878535; bh=pGiiaOMHX/S6U0odCV2R8yqf4GElkVjJnV4JrpyZYKo=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=CvMJwUNUOmYs3hqw1KmUV2beD+6ZzHTb/ZHhpC89LCIezUPwqlIc24QsJxF+PvqHh 2ud7GYahuOGbiD0Mb6+JYm6xRByYVJIhVmQf6F1ks3F62kyKC02GcIOPyiLJGWwXLC D01f8mIBjb90dQ6ZF0jYjsVo0EA7EdMG8/hKbYZ0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 618FAF80508; Mon, 12 Dec 2022 21:54:24 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CFC0CF800F8; Mon, 12 Dec 2022 21:54:21 +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 5EAC5F800F8 for ; Mon, 12 Dec 2022 21:54:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5EAC5F800F8 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 1p4poT-00015t-5C; Mon, 12 Dec 2022 21:54:13 +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 1p4poQ-00463w-Dg; Mon, 12 Dec 2022 21:54:11 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poQ-004ahX-Ab; Mon, 12 Dec 2022 21:54:10 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 02/15] ASoC: amd: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:53:53 +0100 Message-Id: <20221212205406.3771071-3-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=896; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=pGiiaOMHX/S6U0odCV2R8yqf4GElkVjJnV4JrpyZYKo=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5S9hp5tepPB5HKUWwwv9QFaVrtI30+zPLJSUlVM c+w9vuqJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eUvQAKCRDB/BR4rcrsCa3lB/ 4ngQ+XzIB/nT7N2uh+waqH8v+yqk/um7abU+uSkh5xondt3I5vfuaH22mMwO9GcqNxBBHSLSqgV6DI lSHBF04e07u4yLLtZ7hfQ6Z98+ERqWcrQzJnxSuD6KAlHlaYHyqysTwU5Bmsi60vKae1c5CLRNRwEM dlCZ4JjFrSd4kdr/yGEh2r8iRFBxGf65zxQV7IMuU4joAeggZhkkKWn9L7qa4pM+MoAnkxp9rFA39F BT/+43oYHBbenMZWL11Mbmznck8DPkPaIMB0Trhwxksch4u4HtsF77opawqWUZo4bOI9lzZ/8qJVI3 mycpBdXdVJfZsqbdGkIWOxJm42hCng 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: alsa-devel@alsa-project.org, Charles Keepax , Takashi Iwai , kernel@pengutronix.de Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/amd/raven/acp3x-i2s.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sound/soc/amd/raven/acp3x-i2s.c b/sound/soc/amd/raven/acp3x-i2s.c index aa38cef1776d..4ba83689482a 100644 --- a/sound/soc/amd/raven/acp3x-i2s.c +++ b/sound/soc/amd/raven/acp3x-i2s.c @@ -315,16 +315,8 @@ static int acp3x_dai_probe(struct platform_device *pdev) return 0; } -static int acp3x_dai_remove(struct platform_device *pdev) -{ - /* As we use devm_ memory alloc there is nothing TBD here */ - - return 0; -} - static struct platform_driver acp3x_dai_driver = { .probe = acp3x_dai_probe, - .remove = acp3x_dai_remove, .driver = { .name = "acp3x_i2s_playcap", }, From patchwork Mon Dec 12 20:53:54 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: 633250 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 BA370C4332F for ; Mon, 12 Dec 2022 20:59:10 +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 E397229FD; Mon, 12 Dec 2022 21:58:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E397229FD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878748; bh=FQwHTF3hYRhq5XmNiFdDqGE836fxN7GA4Erq1Ivhv3E=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=ZWCT+sVf25jbJYOPVN4+coqwSAq6BNS+ndsfq8bfvdlKO1aF7ZYRqkaSkeNlMvz/f SRWmsfEN+EMuKnurrfR6SE3sSpOWSPhhrBRVhKkjBNLQ4jK6mR6in0DCOOHWfLFiiq nIHJOP4nsjn0Yp69xgSA0/E8MFxxu3DybNkVtyhs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8B458F805BB; Mon, 12 Dec 2022 21:54:38 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 79492F805B1; Mon, 12 Dec 2022 21:54:36 +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 0365AF805AC for ; Mon, 12 Dec 2022 21:54:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0365AF805AC 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 1p4poT-00015u-CT; Mon, 12 Dec 2022 21:54:13 +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 1p4poQ-00463z-Py; Mon, 12 Dec 2022 21:54:11 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poQ-004aha-Ph; Mon, 12 Dec 2022 21:54:10 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 03/15] ASoC: atmel-classd: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:53:54 +0100 Message-Id: <20221212205406.3771071-4-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=993; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=FQwHTF3hYRhq5XmNiFdDqGE836fxN7GA4Erq1Ivhv3E=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TBSiNsSSYIVTDUnwRJn1pXEj4x2GNOw6P69Y3d L3Dt6DWJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eUwQAKCRDB/BR4rcrsCSySB/ 9Egie4JJjgCG4ULHFjiQxT8lKQ54g/RMSK2bH/DSjxUNEHi5IrF+h2g5ihnvHVK731ePBCkjo/eNCg bSCrvevD7EI5pXwaL81MUzX1Sh/ZltxNjUFEPuMdYLeGwBsFl0WDdYLUzfhRRmhY1CDFN4H+rM8570 rpSH1nRql3El3sTsS7faeson2RFMln02f3uBb4Qvxajph9zuQysfPD/s1GVrv/J2OZYz4VuEgP4yew DOH/6CyuAxoNNNNkGxfMPkFiCruHryEqjq7uC1POI+HGjLBuXdSdBObsgvER1MujlzS9g976QBJoQz z1039xv9gIs6TZlnC0qDk0vhqkma31 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: Alexandre Belloni , alsa-devel@alsa-project.org, Nicolas Ferre , Takashi Iwai , kernel@pengutronix.de, Codrin Ciubotariu , Claudiu Beznea , linux-arm-kernel@lists.infradead.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 Reviewed-by: Claudiu Beznea --- sound/soc/atmel/atmel-classd.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c index 87d6d6ed026b..9883e6867fd1 100644 --- a/sound/soc/atmel/atmel-classd.c +++ b/sound/soc/atmel/atmel-classd.c @@ -616,11 +616,6 @@ static int atmel_classd_probe(struct platform_device *pdev) return ret; } -static int atmel_classd_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver atmel_classd_driver = { .driver = { .name = "atmel-classd", @@ -628,7 +623,6 @@ static struct platform_driver atmel_classd_driver = { .pm = &snd_soc_pm_ops, }, .probe = atmel_classd_probe, - .remove = atmel_classd_remove, }; module_platform_driver(atmel_classd_driver); From patchwork Mon Dec 12 20:53:55 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: 633549 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 C5D73C4332F for ; Mon, 12 Dec 2022 20:58:13 +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 ECD741890; Mon, 12 Dec 2022 21:57:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz ECD741890 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878692; bh=OSm9Xm56nyenrSMuk0D0fepZdveAL2uCsSsQlUfmTR0=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=TLmsKv79keSS5djhRd+XuLONW46rGO8zyXWRFQWfq3si9F+lY8n7A0WyoX2vQi/pq tCaW4AiblJcvSX477YIbtdLrl9BFmcBBiDhLarM/12B8u9dv6JjJ6WAzYoKhguRhjG nl3Sl1fVjKVwC/3uep7IKRk8Lhp+BhnNNOH7R2mA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D346EF80587; Mon, 12 Dec 2022 21:54:33 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1C109F8057B; Mon, 12 Dec 2022 21:54:31 +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 6353DF8056F for ; Mon, 12 Dec 2022 21:54:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6353DF8056F 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 1p4poT-00015v-CW; Mon, 12 Dec 2022 21:54:13 +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 1p4poR-004645-P2; Mon, 12 Dec 2022 21:54:12 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poR-004ahf-GK; Mon, 12 Dec 2022 21:54:11 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 04/15] ASoC: atmel-pdmic: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:53:55 +0100 Message-Id: <20221212205406.3771071-5-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=980; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=OSm9Xm56nyenrSMuk0D0fepZdveAL2uCsSsQlUfmTR0=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TEf4G4Lr2vEB3HV8YF/vjSlfIRCDrVnNKWe1Sc uj4IjjGJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eUxAAKCRDB/BR4rcrsCa9lB/ 4gT0O3EjH73UT9ZblEhGpXN5yoPiGMpsblgebbinDs1pBAN0wr16chNuXbY0ZFQFfr/K8NlVAVmPD7 CFgGvOh/2TmBUiW6DaV8CJMGkbizj/aAyyCLdmiV7VENE3UrgP61MDUWpHSuT3dp160UhoSsUdTisO wd5nySFSo1EY8eDiHxkNMsTs+/350CfNq0HvyL6WFhcYwi5A0tCCy7lbB92Cv2a/dQS7Vdh5gkvVD5 V2RTRH2zECD2iXf7aNwdJvBhJkSt7bqQy18OkjZdx8vhUvGMIir3cN94IehWb7bvpc/cGcx0a8HSbZ V6nMSxyKfNL/zCVheL+u3pEWpd9LWo 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: Alexandre Belloni , alsa-devel@alsa-project.org, Nicolas Ferre , Takashi Iwai , kernel@pengutronix.de, Codrin Ciubotariu , Claudiu Beznea , linux-arm-kernel@lists.infradead.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/atmel/atmel-pdmic.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/atmel/atmel-pdmic.c b/sound/soc/atmel/atmel-pdmic.c index 77ff12baead5..12cd40b15644 100644 --- a/sound/soc/atmel/atmel-pdmic.c +++ b/sound/soc/atmel/atmel-pdmic.c @@ -692,11 +692,6 @@ static int atmel_pdmic_probe(struct platform_device *pdev) return ret; } -static int atmel_pdmic_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver atmel_pdmic_driver = { .driver = { .name = "atmel-pdmic", @@ -704,7 +699,6 @@ static struct platform_driver atmel_pdmic_driver = { .pm = &snd_soc_pm_ops, }, .probe = atmel_pdmic_probe, - .remove = atmel_pdmic_remove, }; module_platform_driver(atmel_pdmic_driver); From patchwork Mon Dec 12 20:53:56 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: 633257 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 BDC5AC4332F for ; Mon, 12 Dec 2022 20:55:14 +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 0BD8D189B; Mon, 12 Dec 2022 21:54:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0BD8D189B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878512; bh=kmbH38QRa3+b5F/hqNln5EMhDm/bZDOy+G5nawnWi5s=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=ohUHt9eSFy1wiKFEybFSQ+PSLP1ZgpwpFmfXN8vZdj4NjYxJ44Qp3F2LsTgK3hm3p ZcgABYj6CyhVPNdqSHG6521cO8tDmWrUykSmVSb8B63CnbZh2tBa1tr2VUTyvvu3KJ MGpf4KoESZ+TWuGbv7ekk8KTuTqRLKmx5uup547o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A2E0EF8042F; Mon, 12 Dec 2022 21:54:21 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1A943F8042F; Mon, 12 Dec 2022 21:54:21 +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 8E6D6F800F8 for ; Mon, 12 Dec 2022 21:54:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8E6D6F800F8 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 1p4poT-00015w-DB; Mon, 12 Dec 2022 21:54:13 +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 1p4poS-004649-0X; Mon, 12 Dec 2022 21:54:12 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poR-004ahj-Oc; Mon, 12 Dec 2022 21:54:11 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 05/15] ASoC: 88pm860x: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:53:56 +0100 Message-Id: <20221212205406.3771071-6-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=909; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=kmbH38QRa3+b5F/hqNln5EMhDm/bZDOy+G5nawnWi5s=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TIcNp7ouWocyQmnRubIeiGad9RkV/9BTDE/+KU C8eg3MqJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eUyAAKCRDB/BR4rcrsCTO5B/ 9lYyd7z/rWDzhNF45OdxZ0Vu+7wgQVc5vALApB7gj/oR2pgTVxGsBVz8HK//P9sHIcU4piA4d3kX6o u8BFxrBAJDIp7A8VhPcUTp/AvjzoMdUx5G4Hwz+Ci+wm2rKJX7/wbu7MW860SyEvh5Ukssz7gmXgBF ZFSB8p5mX9yJg0eRn8WYFCS60F6WxQQSxzHzqviPUW1YcUoI87F2VMPlM1GCh131OyP383xvchNtqr JFgljH0B4M4lY1uMnjSrgoQ6JDY8iU3xe3OuZZcjhbXPbHMPuGjEqnGNJZ6E3yH848I/VyPdRmvDRK xA8sivroqMFZrlYymM382cj0LkZi+n 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: alsa-devel@alsa-project.org, Charles Keepax , Takashi Iwai , kernel@pengutronix.de Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/codecs/88pm860x-codec.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c index fc65283031cd..3574c68e0dda 100644 --- a/sound/soc/codecs/88pm860x-codec.c +++ b/sound/soc/codecs/88pm860x-codec.c @@ -1386,17 +1386,11 @@ static int pm860x_codec_probe(struct platform_device *pdev) return ret; } -static int pm860x_codec_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver pm860x_codec_driver = { .driver = { .name = "88pm860x-codec", }, .probe = pm860x_codec_probe, - .remove = pm860x_codec_remove, }; module_platform_driver(pm860x_codec_driver); From patchwork Mon Dec 12 20:53:57 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: 633550 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 9A7EFC4332F for ; Mon, 12 Dec 2022 20:57:43 +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 C4C2121EB; Mon, 12 Dec 2022 21:56:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C4C2121EB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878661; bh=C3Y31NJgTCvtZWViJNh+aWPdGFBsuWWbE/9Lncw3QLY=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=bjLq1r4AC4fwivZzhHXPGM4O0Jaf5nUPleBYCmdN+J4pwn9hqeHYB9r2Oe48v2u5i CHsPpMdiEI9Sq3mJ3O6gL6Rl57TYL7TjoGBQLZAKGKCYn4Xwke2qHsnPeIjlIR9cUC NMJSJTciqjRLQCsFPOce1TRGUJv20/I9sOYqE4ps= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B38CDF80578; Mon, 12 Dec 2022 21:54:30 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C4BF3F80141; Mon, 12 Dec 2022 21:54:26 +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 15909F80141 for ; Mon, 12 Dec 2022 21:54:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 15909F80141 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 1p4poT-00016V-Sl; Mon, 12 Dec 2022 21:54:13 +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 1p4poS-00464H-H7; Mon, 12 Dec 2022 21:54:13 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poR-004ahm-Vj; Mon, 12 Dec 2022 21:54:11 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 06/15] ASoC: ac97: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:53:57 +0100 Message-Id: <20221212205406.3771071-7-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=850; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=C3Y31NJgTCvtZWViJNh+aWPdGFBsuWWbE/9Lncw3QLY=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TL9YVtBnSjj1OAVmnBMjyQRj0w003al7umTHAc cXOuS5GJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eUywAKCRDB/BR4rcrsCRaLB/ 97hpnm5E+z3IgCIMZ8GOOwpEUf3yG9GcuI0AXiSlIwvuOzuFfDJivt1K9C+LRmwYr2JqMaOlYso/47 Bg6iYqDSH+YS/SwTlHbB1VJjfVDjgv4Yfwi7xB1x6bxQqRrNr0MWvwfgPbHostN3gM4SwaKVwromFL ZV3zCvHithph/DZ1Pkt/eZlBUSsc/vhO6mW4TgBOf3k8v4OLr7PSZt7fWQELpLqndQlkF0LcXwwmI+ RpiIQKFOhW/rJxd55Bzy53ly7r31nHwYBb/QsdRZuaCod/rBIfHumpWsa6wtSU83mi7aS9naqOZ4RX Zk6Jx5PiTHEWrUmIOwz/nBEUeHONuL 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: alsa-devel@alsa-project.org, Charles Keepax , Takashi Iwai , kernel@pengutronix.de Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/codecs/ac97.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c index cc12052e1920..0e013edfe63d 100644 --- a/sound/soc/codecs/ac97.c +++ b/sound/soc/codecs/ac97.c @@ -127,18 +127,12 @@ static int ac97_probe(struct platform_device *pdev) &soc_component_dev_ac97, &ac97_dai, 1); } -static int ac97_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver ac97_codec_driver = { .driver = { .name = "ac97-codec", }, .probe = ac97_probe, - .remove = ac97_remove, }; module_platform_driver(ac97_codec_driver); From patchwork Mon Dec 12 20:53:58 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: 633255 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 0B9BFC4332F for ; Mon, 12 Dec 2022 20:56:22 +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 2545622D7; Mon, 12 Dec 2022 21:55:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2545622D7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878580; bh=FRqA7RHqZvB/o5CRPzfLhwxQuBgBYrCUo/OSeSsNzgk=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=eUzbRLW8Lqk3jC43eczZW7CdgVpjfPk5IzTF9VYzbUdyUe7TEjaxIow2/mDOtyT2O hAr/FmjMo5lkzprfQhPNvctaXbyPYksqs8iWYUk4fSDt4TKuOXvD1gOcyrOvIn/w/p Nt0J5XLH2rNL6ufIYS2lgVJekJnjNihkhQjjBh9U= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 94805F80537; Mon, 12 Dec 2022 21:54:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5C4BFF800F8; Mon, 12 Dec 2022 21:54:24 +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 D0E29F800F8 for ; Mon, 12 Dec 2022 21:54:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D0E29F800F8 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 1p4poU-000163-31; Mon, 12 Dec 2022 21:54:14 +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 1p4poS-00464D-Aa; Mon, 12 Dec 2022 21:54:13 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poS-004ahp-Dz; Mon, 12 Dec 2022 21:54:12 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 07/15] ASoC: adau7002: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:53:58 +0100 Message-Id: <20221212205406.3771071-8-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1004; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=FRqA7RHqZvB/o5CRPzfLhwxQuBgBYrCUo/OSeSsNzgk=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TOIdMPxbICx7vTi3jQ5Ux2daH8NLPgOvnJw1TY hm+D4RKJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eUzgAKCRDB/BR4rcrsCdGmB/ 9i7X7dJbnzC9ZrpISnPWYXQeo6QRzPOV4Rlyg9f7xuOU3o2ZRcbKN1v8FLfOeaN7N3F5UwBp/jDW+U oH7DGRcSUedmll4vRVo5RkGLPUtCR2T8fof7GcoHX/A5t3CtPxkMGUtDinwUq1WnrnzMu2JP7OO/lX 03CFDJSdnSClh6JWjHr1C4jzez/qrdGx8tJqUFyHjM5Yw22+a/JamrUeojSaOVoFl4jNBHsspsX/AI 3vnO6mb6dIfEnMbYSjy1wWJ2IHN+qmjf0Y7xmmodAF9471tW0pmHinrme/bmrlXopmBW2UfJ6+Dbc2 aliogRHorqStGo83eIY9/mIjtGtMR5 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: alsa-devel@alsa-project.org, Lars-Peter Clausen , Takashi Iwai , kernel@pengutronix.de, =?utf-8?q?Nuno_S?= =?utf-8?q?=C3=A1?= Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/codecs/adau7002.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/adau7002.c b/sound/soc/codecs/adau7002.c index 401bafabc8eb..c9134e1de0b2 100644 --- a/sound/soc/codecs/adau7002.c +++ b/sound/soc/codecs/adau7002.c @@ -100,11 +100,6 @@ static int adau7002_probe(struct platform_device *pdev) &adau7002_dai, 1); } -static int adau7002_remove(struct platform_device *pdev) -{ - return 0; -} - #ifdef CONFIG_OF static const struct of_device_id adau7002_dt_ids[] = { { .compatible = "adi,adau7002", }, @@ -128,7 +123,6 @@ static struct platform_driver adau7002_driver = { .acpi_match_table = ACPI_PTR(adau7002_acpi_match), }, .probe = adau7002_probe, - .remove = adau7002_remove, }; module_platform_driver(adau7002_driver); From patchwork Mon Dec 12 20:53:59 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: 633551 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 6288DC4332F for ; Mon, 12 Dec 2022 20:57:07 +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 86D9E2135; Mon, 12 Dec 2022 21:56:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 86D9E2135 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878625; bh=uiL6Eq9/Ggr25fq7eJ1pzxylk51PhPxxSMcjI3xRJRc=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=ZcsNY9BaYXTiBHWg6TOA0j9VfDqYEUJk5OmtP4T8LaXmdMjgStW2zPpewKwPBrsCz uxaIYGsU0OADt4Uu1xN79C8nhnDv3GWeRr4X7ergBze2Q6A93Azwo26/UIaocl5+Ho yLLBkUnZO0DRs6p9JmHojty230jwV8MTKbzcKBTk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 199C4F8053D; Mon, 12 Dec 2022 21:54:29 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 17731F80535; Mon, 12 Dec 2022 21:54:26 +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 23E33F800F8 for ; Mon, 12 Dec 2022 21:54:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 23E33F800F8 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 1p4poV-00016i-Px; Mon, 12 Dec 2022 21:54:15 +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 1p4poS-00464P-Q0; Mon, 12 Dec 2022 21:54:13 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poS-004aht-Ra; Mon, 12 Dec 2022 21:54:12 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 08/15] ASoC: bt-sco: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:53:59 +0100 Message-Id: <20221212205406.3771071-9-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=984; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=uiL6Eq9/Ggr25fq7eJ1pzxylk51PhPxxSMcjI3xRJRc=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TR8Cfge0QaVAUmv3sZyzwJtkehCgS/uZJkMS8i yZ/9RK6JATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eU0QAKCRDB/BR4rcrsCea0B/ 9+RUOG/F4HIstUN4S/E+ActR84FjRnVZsVv+CGcODhTyKgIVkyokGyZM1EkUu93B7QXyTmDUNg0Pc7 cdzB8F8Mt08h69YCmEbzzFkzwNpTd47BLYEfLDz0vujdweIoq2wdzKlcDmBTnk08RapNUla0bYu613 b7L4Dj91NJ54ygGQIgtWJkJMWkhFL1zHncURq6AAgSH/e0wWF5zwRX7L78NZUIe1KnlPXRyv01V6XY wpzaj8cq7GnvkUZEdOJ9caDoCk654+Mic0r441CncTNuVbYQSTBljl9vbgUWsjL9n2beROcaXnL4b9 yfbjlxarYzlBzr14LPHZGozR7n4e0l 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: alsa-devel@alsa-project.org, Charles Keepax , Takashi Iwai , Jiaxin Yu , kernel@pengutronix.de Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/codecs/bt-sco.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/bt-sco.c b/sound/soc/codecs/bt-sco.c index 4086b6a53de8..3afcef2dfa35 100644 --- a/sound/soc/codecs/bt-sco.c +++ b/sound/soc/codecs/bt-sco.c @@ -78,11 +78,6 @@ static int bt_sco_probe(struct platform_device *pdev) bt_sco_dai, ARRAY_SIZE(bt_sco_dai)); } -static int bt_sco_remove(struct platform_device *pdev) -{ - return 0; -} - static const struct platform_device_id bt_sco_driver_ids[] = { { .name = "dfbmcs320", @@ -109,7 +104,6 @@ static struct platform_driver bt_sco_driver = { .of_match_table = of_match_ptr(bt_sco_codec_of_match), }, .probe = bt_sco_probe, - .remove = bt_sco_remove, .id_table = bt_sco_driver_ids, }; From patchwork Mon Dec 12 20:54:00 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: 633256 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 CC48FC4332F for ; Mon, 12 Dec 2022 20:56:04 +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 9F21E16CB; Mon, 12 Dec 2022 21:55:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9F21E16CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878562; bh=CMcEJ3+zoX4JLirg6U5erqubkx/H+03bCT+uRNvqcyk=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=e+od/AuqkPRDpZZBtrigpu3ZvxJXmz0oAZgWnS1ozcb+S/L9K4UZ3Xo9OlMEGZFlv 7NT+UEwjaI9yHTF2N/ej9tApbbQcultgQgeAyIAVhbgAtKlfw27O0UEyIVJ84gh8Rs SmlfGe7S52X5jf2m4/lAOQM4+yoVJ7TIGl7avO+Q= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B9AC7F804D7; Mon, 12 Dec 2022 21:54:25 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C07A4F80508; Mon, 12 Dec 2022 21:54:22 +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 13DEAF800F8 for ; Mon, 12 Dec 2022 21:54:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 13DEAF800F8 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 1p4poU-00016w-FC; Mon, 12 Dec 2022 21:54:14 +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 1p4poT-00464S-24; Mon, 12 Dec 2022 21:54:13 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poT-004ahx-6q; Mon, 12 Dec 2022 21:54:13 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 09/15] ASoC: cq93vc: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:54:00 +0100 Message-Id: <20221212205406.3771071-10-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=915; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=CMcEJ3+zoX4JLirg6U5erqubkx/H+03bCT+uRNvqcyk=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TVajT2M7q2gVHSUvHKnIXfeEROMeYglxLKKVsD G6eah2uJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eU1QAKCRDB/BR4rcrsCSpFB/ wMhi98n3egKNmh0x0J1hkG6LXkS7R+sJpOO+ouImlfLha6dyX9HX3sd4W7S9HKk0sN8XDdfZr9RhwP fV7614ufYFkSP6HSYPj7kNS/OLmpRq2qLZEdo+rMpplcnNsrJykryCdLdsGN81HuNboqqL4S4ANAMd C6PL0rab+DDMR7PBY7UDnLdp7ayJ1w7pVQnMwR0xj0QJALJ2ylH7PZdyZV/WnH8TonlHRb9QWYwAeU AnLwjq8MSaiPoNQJyDe1+0uNAX2mqFZYdSXL7bWL+wADVCI+CW6d9f0l0a27EkK6hJDgM21WZEQ2ze Nj8UYZpoxQxGHx8VXPLnrF7z0AyM5P 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: alsa-devel@alsa-project.org, Charles Keepax , Takashi Iwai , kernel@pengutronix.de Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/codecs/cq93vc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c index 14403b76c724..32b6a417d0e8 100644 --- a/sound/soc/codecs/cq93vc.c +++ b/sound/soc/codecs/cq93vc.c @@ -134,18 +134,12 @@ static int cq93vc_platform_probe(struct platform_device *pdev) &soc_component_dev_cq93vc, &cq93vc_dai, 1); } -static int cq93vc_platform_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver cq93vc_codec_driver = { .driver = { .name = "cq93vc-codec", }, .probe = cq93vc_platform_probe, - .remove = cq93vc_platform_remove, }; module_platform_driver(cq93vc_codec_driver); From patchwork Mon Dec 12 20:54:01 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: 633254 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 EC7AAC4332F for ; Mon, 12 Dec 2022 20:56:55 +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 2324E2288; Mon, 12 Dec 2022 21:56:04 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2324E2288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878614; bh=k+rHtyNHPIWkorC5Eie2x9iYUarG6EgHFZi/z50Qu+I=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=Cb37YLRMpA7kqoYeb2SlZ60o5C3ZbNA4xb5qG751fefFjul7yb5ajxUY9CTfGNJt0 R3CiAvP7TJaDtYH3LZhwcuKpfPaMg5RO95SQ1mwtpkpQZJQOZuwZHijXdztdxKa6qr VjnadisXq/J5cXSbKlfTKtl2txc24AVH1U7txDcc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 911E3F80552; Mon, 12 Dec 2022 21:54:28 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 981FFF80533; Mon, 12 Dec 2022 21:54:25 +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 E7AAFF804D7 for ; Mon, 12 Dec 2022 21:54:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E7AAFF804D7 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 1p4poV-00017N-8F; Mon, 12 Dec 2022 21:54:15 +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 1p4poT-00464Z-P4; Mon, 12 Dec 2022 21:54:14 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poT-004ai3-Pb; Mon, 12 Dec 2022 21:54:13 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 10/15] ASoC: mc13783: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:54:01 +0100 Message-Id: <20221212205406.3771071-11-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=878; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=k+rHtyNHPIWkorC5Eie2x9iYUarG6EgHFZi/z50Qu+I=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TYnUytDRWZIAzemZjsUs7HadgUD0EBRiz0K3v5 72AM+OyJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eU2AAKCRDB/BR4rcrsCdzsB/ 4lJZg0a7xZl+uQDy2q61eupY+oLoNHZwf3uAcYfKoxg1UPkOCnEiCcRuKIz3jFjbVlsyz3weqaD29+ YfKVg57gg1Nfa1uRXj/Xuzvz48LfcJmoNieumDd8ZMXIiCCB261I67WZgLbT8T6rV6AAkShqUIRwU9 b2IIa37dBijqz7KYOvS8M/gioBk8EgLUIXxQFDg5uqWUpeo/D6Fl2l2q9I5r0WK4pe27O/oQnJ13MS PgP475ff8rELTE81VFNUw7GphKQ1m210/vvH4DdrFdY8ajXdYqBALAFRvgzONDC/zB3Yalm+lIFSY4 2bKfIWjnQHiz6yt+AUW1xlzsxPG60X 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: alsa-devel@alsa-project.org, Charles Keepax , Takashi Iwai , kernel@pengutronix.de Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/codecs/mc13783.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c index 71490f11d96a..086ac97e8386 100644 --- a/sound/soc/codecs/mc13783.c +++ b/sound/soc/codecs/mc13783.c @@ -776,16 +776,10 @@ static int __init mc13783_codec_probe(struct platform_device *pdev) return ret; } -static int mc13783_codec_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver mc13783_codec_driver = { .driver = { .name = "mc13783-codec", }, - .remove = mc13783_codec_remove, }; module_platform_driver_probe(mc13783_codec_driver, mc13783_codec_probe); From patchwork Mon Dec 12 20:54:02 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: 633553 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 B2C55C4332F for ; Mon, 12 Dec 2022 20:56:11 +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 D2942219D; Mon, 12 Dec 2022 21:55:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D2942219D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878569; bh=pfh6naBDzBi9UIjDmrIaZ1RSWIj8qeICSs4X2X1eZyI=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=DgHxYM/aj8WBajYpJoQynvQ1b6Kv2mTpztX8uG6MtOkfyyynIG7OGYQJ1oW5kmSHD Y1ObJcZd6TlSPL58oGBUoOHZ6a+l2RK462yPlbnBjbWcNr811n2SuFKSdO63l7iasu viuavkV95NUmYGY7RW/ws+3ITkwpkjDQwXV7FL5E= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 03785F80519; Mon, 12 Dec 2022 21:54:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0714CF80141; Mon, 12 Dec 2022 21:54:23 +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 7CFB3F804D7 for ; Mon, 12 Dec 2022 21:54:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7CFB3F804D7 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 1p4poV-00017O-DI; Mon, 12 Dec 2022 21:54:15 +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 1p4poU-00464e-0e; Mon, 12 Dec 2022 21:54:14 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poU-004ai7-20; Mon, 12 Dec 2022 21:54:14 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 11/15] ASoC: wl1273: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:54:02 +0100 Message-Id: <20221212205406.3771071-12-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1005; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=pfh6naBDzBi9UIjDmrIaZ1RSWIj8qeICSs4X2X1eZyI=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TbiL8+sW8xDGAKJjJP1X8a/zm/pCT0z8b3MP0k ZwHXEjmJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eU2wAKCRDB/BR4rcrsCc/zB/ 9sXTdC08hudPCocQDtoEPLagxE3YyQnCJD7tLneuI2SZkav0YWH4VeceIrXzfMZgFGquxhROmbzMsL l8lmIa9fw5Httme5QzqQgiGH9037bNP0gjf23eRmo2YmvVoxH6WJzeioq2hfidjv113+cL3mGp+1d+ NDXIOSFNkcFHQ/1HLgusLidGAxjZCrdO8PVymSxkEcla3ieGSamBR9Rf3IRi9lx1FHSKH6DT77g5Z8 4cr/rNa6rs4VWonrVpYUzMZteFrLMBElgW+i5dFfJ+Q+0lU1rhZJxKMue6M2lnWKS6IEPLT5PfngqL OGOhAw6gf2kebSaqRgegshkdGPuTga 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: alsa-devel@alsa-project.org, Charles Keepax , Takashi Iwai , kernel@pengutronix.de Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/codecs/wl1273.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c index 626278e4c923..737ca82cf976 100644 --- a/sound/soc/codecs/wl1273.c +++ b/sound/soc/codecs/wl1273.c @@ -484,11 +484,6 @@ static int wl1273_platform_probe(struct platform_device *pdev) &wl1273_dai, 1); } -static int wl1273_platform_remove(struct platform_device *pdev) -{ - return 0; -} - MODULE_ALIAS("platform:wl1273-codec"); static struct platform_driver wl1273_platform_driver = { @@ -496,7 +491,6 @@ static struct platform_driver wl1273_platform_driver = { .name = "wl1273-codec", }, .probe = wl1273_platform_probe, - .remove = wl1273_platform_remove, }; module_platform_driver(wl1273_platform_driver); From patchwork Mon Dec 12 20:54:03 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: 633552 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 06971C4332F for ; Mon, 12 Dec 2022 20:56:37 +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 E877A23D9; Mon, 12 Dec 2022 21:55:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E877A23D9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878595; bh=Y0kjMd8NuteJJ3+VzZHpJcRWhbk4mCFMu+bNANGeCsM=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=bdBhtwu++kLoleHaZz0bxd+NkXaN9VJiZf4R4XQrDFGpU2hTO/94kOOhWg6BlyhL6 WMseVj7K25NTFcQ8m4AJJ/tZKa+RbGB4atCJG6Sg0/qGaPNJHttDCKhIg4PHykdSal ziytT0J0jWl+IpOY8gRRuQH+1gj2LXMfLBuzrcfs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1CADFF8053C; Mon, 12 Dec 2022 21:54:28 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0815DF80518; Mon, 12 Dec 2022 21:54:24 +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 4DEDCF804B4 for ; Mon, 12 Dec 2022 21:54:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4DEDCF804B4 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-00019X-2U; 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 1p4poU-00464h-Hy; Mon, 12 Dec 2022 21:54:15 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poU-004aiA-HC; Mon, 12 Dec 2022 21:54:14 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 12/15] ASoC: pxa: e740_wm9705: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:54:03 +0100 Message-Id: <20221212205406.3771071-13-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=859; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=Y0kjMd8NuteJJ3+VzZHpJcRWhbk4mCFMu+bNANGeCsM=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5Te1L1m6LwWzc+byfnA4/UOV8ATd2uewDXCXfoT b77XSemJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eU3gAKCRDB/BR4rcrsCUCqB/ 9klyaqlMYzfDk3Q4+4yhM5Dj1RmsaFSOXwGpDeIGM78ObNtdxWFheVjfwwBRLTju7pqpAMcgYnFo16 8afkQKT7yAv+mh+x2F1t4vb2IZ+55oeiGgGF2jF5BK/GN0KDwc6Tub5nDjJZL6nEFUvcS224r2xWfY rK6p11W6TIpkt1Mpj57XKOnbOo8OITbWL7yBvGeR/jF5W7O/1W3gbE64Yov4lacP2MfWC4sO3bTTWe eBKZ//duSZAe9uEM0dIYXQmEH3I4NZ9JXxQ7yUQlDRz4t3DdumU8iqWWZGmqZXweaHkLiPY9vaWCjO nacnI94S1mRRR9GQthlEcBo+yq6qLx 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: alsa-devel@alsa-project.org, Takashi Iwai , Haojian Zhuang , Daniel Mack , kernel@pengutronix.de, Robert Jarzmik , linux-arm-kernel@lists.infradead.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/pxa/e740_wm9705.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/pxa/e740_wm9705.c b/sound/soc/pxa/e740_wm9705.c index 4e0e9b778d4c..ec37da331a91 100644 --- a/sound/soc/pxa/e740_wm9705.c +++ b/sound/soc/pxa/e740_wm9705.c @@ -145,18 +145,12 @@ static int e740_probe(struct platform_device *pdev) return ret; } -static int e740_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver e740_driver = { .driver = { .name = "e740-audio", .pm = &snd_soc_pm_ops, }, .probe = e740_probe, - .remove = e740_remove, }; module_platform_driver(e740_driver); From patchwork Mon Dec 12 20:54:04 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: 633251 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 08E0CC4332F for ; Mon, 12 Dec 2022 20:58:28 +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 2DCFD2A1D; Mon, 12 Dec 2022 21:57:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2DCFD2A1D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878706; bh=1P9Fp1T+JLANLJiYZAhttGbmhm5vgLGVF+aqQ85CKaM=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=OofHIPW/AMhiaN8yaW0TNLQ1TldZf1ZS/+lcTrQWuGxtkc2illHJhXzvaSEQc7EPC ClP2Ku/NaQcVJxkqA4mH5ov9lWqR5MT6ZRt7MCY7kboJmq9hEupgB1aM4ssvY8b5IL Q4usMF+G2tl8d/48cA5i938PTeib8YyGWQ8CfUy0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8409EF805A8; Mon, 12 Dec 2022 21:54:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 864F5F80589; Mon, 12 Dec 2022 21:54:33 +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 EA126F80587 for ; Mon, 12 Dec 2022 21:54:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EA126F80587 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 1p4poX-0001F2-9U; Mon, 12 Dec 2022 21:54:17 +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 1p4poV-00464u-JA; Mon, 12 Dec 2022 21:54:16 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poV-004aiF-6q; Mon, 12 Dec 2022 21:54:15 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 13/15] ASoC: pxa: e750_wm9705: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:54:04 +0100 Message-Id: <20221212205406.3771071-14-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=859; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=1P9Fp1T+JLANLJiYZAhttGbmhm5vgLGVF+aqQ85CKaM=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5Ti2esMWMI3IywScHKY9y3a+N/j17TrnKsARYO4 FFx9K1iJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eU4gAKCRDB/BR4rcrsCaaSB/ 9xi+Hue+4vIsZ8CvfwyPfKg3yDW51E0wZYgFUzWpANxYW/FkURs6kgzWSb5S6YzMcokDcJygkdgBfO DDrg0ecMfuAuwwGvK2TfGhUUk07qreTxLaVt3QnjWCNRbZ3mpxOMb5YNW/Gwxx+CAlvPfyBQG31WgL Rec9hQf95s7X5WeNEMVJnALIv2FiQf8ALCqtpXpV8iJJeT5Yt2jJ12ZJyoQjwRaqzeYIY0iB4vT/29 9TAujYrBNVP629gP9Fetc8MXWV/ThcPrZ02c7pHZJOfgHJ2OM1mHE9aHUQG3ewi6DfviEW0g20+x0K mEqI+SeU2krZ1RidvQb180bQXRW0z3 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: alsa-devel@alsa-project.org, Takashi Iwai , Haojian Zhuang , Daniel Mack , kernel@pengutronix.de, Robert Jarzmik , linux-arm-kernel@lists.infradead.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/pxa/e750_wm9705.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c index 7a1e0d8bfd11..60b22d4f92a7 100644 --- a/sound/soc/pxa/e750_wm9705.c +++ b/sound/soc/pxa/e750_wm9705.c @@ -124,18 +124,12 @@ static int e750_probe(struct platform_device *pdev) return ret; } -static int e750_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver e750_driver = { .driver = { .name = "e750-audio", .pm = &snd_soc_pm_ops, }, .probe = e750_probe, - .remove = e750_remove, }; module_platform_driver(e750_driver); From patchwork Mon Dec 12 20:54:05 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: 633253 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 506BCC4332F for ; Mon, 12 Dec 2022 20:57:25 +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 61EA922E6; Mon, 12 Dec 2022 21:56:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 61EA922E6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878643; bh=xtlPZdRcg8Pvrr94x1zXfwgUTRkShurt9ra5PHbZeuQ=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=gmomlwLvA+09beQwBHBnJij3nIGXMdvCyU8lzy5WLvnpD3Fji0gABNZCTOzfIZ7zj 1AoLzUvvxRJRtJFSul5w+HWPwfEqWfNp6fWgWvjwtSlPbEx4PMkMphgy+2NpcP7dyM I+yLaBrHJgm8YOJ/lJjI4XmdNVbBDF2XMptqanI0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id ED10BF80567; Mon, 12 Dec 2022 21:54:29 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C0C23F80537; Mon, 12 Dec 2022 21:54:26 +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 63469F80519 for ; Mon, 12 Dec 2022 21:54:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 63469F80519 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 1p4poX-0001Ed-9L; Mon, 12 Dec 2022 21:54:17 +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 1p4poV-00464r-DE; Mon, 12 Dec 2022 21:54:16 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poV-004aiJ-JO; Mon, 12 Dec 2022 21:54:15 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 14/15] ASoC: pxa: e800_wm9712: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:54:05 +0100 Message-Id: <20221212205406.3771071-15-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=859; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=xtlPZdRcg8Pvrr94x1zXfwgUTRkShurt9ra5PHbZeuQ=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5TlMqEpJUTa/cAqLzaq98+BiopHd6xd1pVtoE0k q+yAXfiJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eU5QAKCRDB/BR4rcrsCfkTB/ 9tqWSTPzLeQHBRYGW0lsgyReaVVxBELe1hPSGuJOf4IxD32ueogtk64t0WffxQed9mqdp1tjbt6byv 6g7pAEBfbYKsJ8oK1jqLoHUbTasg/AAG6WMBgs4sqdjbIciLvvFxZmHqUuZXnplYuxCefREsyG+5OS GC5rF1Xd/hTX1NpD1KUhdN/EiB/crv+gskLY7ZLrhXQJ+g8BmLh7wm0OVan8sTmC2qfIKT4GHZ0x5Y LrICn4Xiu3TG3PVdVEPqvwrpSLg49eDIL2h+/jsR+WgOZKkplAW8Le09Sl2fSCfkL2MCrWonEoiR4V MsY3GFBRJq4KR3aezPIckX1tEgl5C+ 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: alsa-devel@alsa-project.org, Takashi Iwai , Haojian Zhuang , Daniel Mack , kernel@pengutronix.de, Robert Jarzmik , linux-arm-kernel@lists.infradead.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/pxa/e800_wm9712.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c index a39c494127cf..c7756acd888a 100644 --- a/sound/soc/pxa/e800_wm9712.c +++ b/sound/soc/pxa/e800_wm9712.c @@ -124,18 +124,12 @@ static int e800_probe(struct platform_device *pdev) return ret; } -static int e800_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver e800_driver = { .driver = { .name = "e800-audio", .pm = &snd_soc_pm_ops, }, .probe = e800_probe, - .remove = e800_remove, }; module_platform_driver(e800_driver); From patchwork Mon Dec 12 20:54:06 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: 633548 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 B8581C4332F for ; Mon, 12 Dec 2022 20:58:45 +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 DF30629C1; Mon, 12 Dec 2022 21:57:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DF30629C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670878723; bh=Lag8ABddGgo8Y+6xYVrV2ZWO5fJEd1lgDe+EeGNdmec=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=geuDIEjA5wEs6yP3wJ7NDRCU3ohTwwLxMRDNcejmG8LJy2Qua+GGNyAx7xP/bYICg pnh9BwQ6hegaheW+Di3yxa5Qec6gsFPPucZ+FTq6L7JjmvBJfylXo6Cc56R5UzFuN9 qhplr5ryAzrkHXu4MR9l8Bim41MZCtW7svYTgL+o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3CBEFF805AF; Mon, 12 Dec 2022 21:54:36 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 33133F80580; Mon, 12 Dec 2022 21:54:35 +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 C648BF80580 for ; Mon, 12 Dec 2022 21:54:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C648BF80580 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 1p4poX-0001HK-Tx; Mon, 12 Dec 2022 21:54:17 +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 1p4poW-00464y-9C; Mon, 12 Dec 2022 21:54:17 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4poV-004aiM-TK; Mon, 12 Dec 2022 21:54:15 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Liam Girdwood , Mark Brown Subject: [PATCH 15/15] ASoC: SOF: nocodec: Drop empty platform remove function Date: Mon, 12 Dec 2022 21:54:06 +0100 Message-Id: <20221212205406.3771071-16-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> References: <20221212205406.3771071-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=854; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=Lag8ABddGgo8Y+6xYVrV2ZWO5fJEd1lgDe+EeGNdmec=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl5To8oKR6rIGc08Iu8IDd+MNXehb0Bz1bIzJvSe2 Kk1Rs9CJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eU6AAKCRDB/BR4rcrsCY5IB/ 9R5d4jZLHvw0d7hHrazEhuiYAjekQTB8wscCD/1uoFS9WLUVboIwAgq8+NVH5LMK9FhLgeaBGSD7pg HDpQi6obq5AKGleaFUV2novDO1qrwqzW0UbqUvHXeopAggx2EM9bWvbGDea/WgF9v1qFN+EeCSy6or MpyAgzRInAry0xV5ll1tgf9WvUAVZrTeTBXs1aiDTsYZi7GeNeC2jKL5DEikZ2UB2KzNbn+0uX2F8d 39dx6JUDQEhZ/N7dvgGwQfWMtbYenat4jJB0VDogArYac0Xt+TpF4ihyTL3Cd1ygf2icOHwPrlm1eU sH7g4skFC3ffpR1u5effdrYdlaE9f/ 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: alsa-devel@alsa-project.org, Kai Vehmanen , Bard Liao , Takashi Iwai , Peter Ujfalusi , Pierre-Louis Bossart , Ranjani Sridharan , kernel@pengutronix.de, Daniel Baluta , sound-open-firmware@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 --- sound/soc/sof/nocodec.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/sof/nocodec.c b/sound/soc/sof/nocodec.c index 3537805070ad..b13bfdeb2b70 100644 --- a/sound/soc/sof/nocodec.c +++ b/sound/soc/sof/nocodec.c @@ -103,14 +103,8 @@ static int sof_nocodec_probe(struct platform_device *pdev) return devm_snd_soc_register_card(&pdev->dev, card); } -static int sof_nocodec_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver sof_nocodec_audio = { .probe = sof_nocodec_probe, - .remove = sof_nocodec_remove, .driver = { .name = "sof-nocodec", .pm = &snd_soc_pm_ops,