From patchwork Fri Feb 11 16:58:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 12743673 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 85719C433F5 for ; Fri, 11 Feb 2022 16:59:39 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E499D1940; Fri, 11 Feb 2022 17:58:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E499D1940 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1644598777; bh=kcascgmrZLysKpi6HM+Z8y67brqdTYtutuVMh4BIJv4=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=g6trtNnHXZIcnVQL/z7PQBreCFthY9XlEDaYJH6qWeezTTeSdnQPgHg2V4IpeTSt4 ZwmKJnhBOOrySxmNdbv7pZBk7lflAs3nIQ3/KmtNaHF81ePOyP75uys+7fuWYi1ZkB Jv82saHcYhuby/KTtBJBlVpEp9gufv1jnoIwbiTI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 77AB2F8012C; Fri, 11 Feb 2022 17:58:46 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B3503F80139; Fri, 11 Feb 2022 17:58:43 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 30846F800B0 for ; Fri, 11 Feb 2022 17:58:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 30846F800B0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IaSJVi2e" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A05FA616C0; Fri, 11 Feb 2022 16:58:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04A68C340ED; Fri, 11 Feb 2022 16:58:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644598718; bh=kcascgmrZLysKpi6HM+Z8y67brqdTYtutuVMh4BIJv4=; h=From:To:Cc:Subject:Date:From; b=IaSJVi2ehUN2vIqQ6UdvKG6lkZui2TdZXknB6xn8+x4DjxUHvzttbCHieOQ7U5hhl qDp8g/3Ib5wSelgSN4Q/LZJz97likemr9pO1YeaO6a5AIlRLh1oGi/t/sqnaH//BaA heBwwim23lWnGXDFHMR5N1KZjgiZ0UcG0fZqE21CCtJBN6L39QkRj+BdNguH3YxSLG 0VZIas01YDsrVmNwn4FeoBn8b4aSvvPqv8FKaJ6Qhl6gggIZwxP71kEmcP5diHaYaW FTZu9MCK3sFsoIEUvmBxQXvfYvjM4OjZWjVuCK2hugNXccHoMl+oAiFsdWi+0Oku17 m2zUQ7t4pK+qQ== From: Mark Brown To: Liam Girdwood Subject: [PATCH] ASoC: wm8731: Delete empty remove() function Date: Fri, 11 Feb 2022 16:58:11 +0000 Message-Id: <20220211165811.1176005-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=882; h=from:subject; bh=kcascgmrZLysKpi6HM+Z8y67brqdTYtutuVMh4BIJv4=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBiBpVEmv0mOHhwYCNcSqgrgHamWYstuH+FTzBi31BU cGJj1/WJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYgaVRAAKCRAk1otyXVSH0GnYB/ wKlsV7FE6G7yMPo440iD2lUxJ5TwehL5Oh6F/XhJpjaBLq2MoWCJVzzXJ6jsW0tcbdCmkYCjLKx2aS ICI1PPLISfCYoojNHcX6oRw4aeSnr2t/OjCT25lwkMBobnRMbt3malnqzm82wIekDoBZgooJec+oC0 RreomwrckvRsDyryUxFKIw0NBAhD6MxXb7XM2ElFkY0NGm7KtTFgMvkonZF8x6KzaisJJIeA2fjbrW PzFDR59eVYJww8EpHoInRUsPM/DG9jc8C2Re83Bwfl+4XrwCflL5u0XlncQCsJ5lQnBpuOZ44q+6wo yaTNzLKjNk8uH9iXzwEtp19RY5BVZS X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The I2C remove function is empty for the wm8731 driver, it can just be deleted. Signed-off-by: Mark Brown Acked-by: Charles Keepax --- sound/soc/codecs/wm8731.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 86b1f6eaa599..5d4949c2ec9b 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c @@ -777,11 +777,6 @@ static int wm8731_i2c_probe(struct i2c_client *i2c, return 0; } -static int wm8731_i2c_remove(struct i2c_client *client) -{ - return 0; -} - static const struct i2c_device_id wm8731_i2c_id[] = { { "wm8731", 0 }, { } @@ -794,7 +789,6 @@ static struct i2c_driver wm8731_i2c_driver = { .of_match_table = wm8731_of_match, }, .probe = wm8731_i2c_probe, - .remove = wm8731_i2c_remove, .id_table = wm8731_i2c_id, }; #endif