Message ID | 9b39a59f5829d200d7d1fac4e993dbf8ce05836d.1684578051.git.christophe.jaillet@wanadoo.fr |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp283654vqo; Sat, 20 May 2023 03:50:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wT+i+sh8pANKUe56XQgbu9J65KFDwFvu6hUB91AQGAsLqQarV1SMOYguPMSDyAJchGQWR X-Received: by 2002:a17:90a:8a09:b0:253:3eb5:3ade with SMTP id w9-20020a17090a8a0900b002533eb53ademr5728616pjn.8.1684579840191; Sat, 20 May 2023 03:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684579840; cv=none; d=google.com; s=arc-20160816; b=esW1pDy/yIIllnnMMdrwpYmu9E84GQgyD/TbsgnxzBZcWehrpYQ4DIC7IpT56kv4NA zbiiscETL7vHKG4rcs62u1WmNbVPavmcRptCNF6oitmA5nixL25/2cOcDIXfTgTOwnhO jOSvQWCJlMGevHTcmbZscN1wnrfzrpr5o8DsNJqYR8HXqU4Ol8LRY0OA2nzZWsCtQ9FG gPPG/Id144ViD5PYt6BIajGKkQs+uRfTunpeR0d02uB1xYNnTLfSqNbUH28MSkEITEHS L6P/Nsmv5XkbQ0GTTxPvIfl0h98EzMraucQlB9RP3ADwRStidrxxdu3yUfTzm2Cb6Ymz V1NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ngf/sPwJeij1NeBPQTwg+KDLxc9Kn0BOhnZCL74zemE=; b=Fp59v35Nr9x67JJHpFwoKQfbkMX9Y+OH7T7IgcX8jtZLXKCF7HZDwOY0+w4200GDlc EAnqF2SR8rk4QYZtsrUtdpOEAKuNKyObnlDBhOW4kjPpe9jSXwzLteAkSGiVsBhzbmPe 1luvH4A7m+UQxv16wwJFnJadYWIO8ohuU+UnxYpoBrfC/1iwRHKjav82RYvcrlKr1zn2 vBZ/N/qx8AHcsEQ95tvFhWRNTpOeeaPYjmPWSofFfUcvu74oF2wuVMme9eomRgOdz9+I k9i2Gp8ywb4E4YZrfhh1zdvIz8TBY3Jd8KI6F8zpmwwzuE1FFNxnTPLTU+KqAYOILH2E myFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b="lIHs/qpR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a17090a3e0c00b00250697cb4e6si3449335pjc.27.2023.05.20.03.50.25; Sat, 20 May 2023 03:50:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b="lIHs/qpR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231519AbjETKWK (ORCPT <rfc822;ahmedalshaiji.dev@gmail.com> + 99 others); Sat, 20 May 2023 06:22:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbjETKWJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 20 May 2023 06:22:09 -0400 Received: from smtp.smtpout.orange.fr (smtp-20.smtpout.orange.fr [80.12.242.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A33FF1A5 for <linux-kernel@vger.kernel.org>; Sat, 20 May 2023 03:22:04 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id 0Jipqvr6aKkqR0JipqDWcb; Sat, 20 May 2023 12:22:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1684578122; bh=ngf/sPwJeij1NeBPQTwg+KDLxc9Kn0BOhnZCL74zemE=; h=From:To:Cc:Subject:Date; b=lIHs/qpRBklVl9lwMU7hCKGV8eG7apemlX21mk6804HvKXRTSLfkIH8NHCpRE4dQZ DZI/UVBbYqVbNPXtLhELkmaGehZcNdySgPNZ7GjZozm98FyQq8LLIaJ9lvJnv+vTI/ znqr+toEQWEimCa8GNS16prIL6n3Mued3XLGtLi8MIfS37W/xz4j7R7Rujd24OiwFF oTKurFEa48uXmUjGzVl6BHQSuqXXRBfok6skHw/ohYqaDF+/x4bNMFZku0cp1o/BHD 6q1q2rdZS8A4Dk8tf0GZoFoiZ7O0m6j6TtiiCLuaPifDpQ9CVRKV7U/82awVzN6jqu TC1DhVdN/ybiQ== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 20 May 2023 12:22:02 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> To: Claudiu Beznea <claudiu.beznea@microchip.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ASoC: atmel: sam9g20_wm8731: Remove the unneeded include <linux/i2c.h> Date: Sat, 20 May 2023 12:21:58 +0200 Message-Id: <9b39a59f5829d200d7d1fac4e993dbf8ce05836d.1684578051.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766409990723945763?= X-GMAIL-MSGID: =?utf-8?q?1766409990723945763?= |
Series |
ASoC: atmel: sam9g20_wm8731: Remove the unneeded include <linux/i2c.h>
|
|
Commit Message
Christophe JAILLET
May 20, 2023, 10:21 a.m. UTC
This driver does not use i2c, so there is no point in including
<linux/i2c.h>
Remove it.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
Based on one of my scripts, this reduce the number of included files from
589 to 498
---
sound/soc/atmel/sam9g20_wm8731.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Sat, 20 May 2023 12:21:58 +0200, Christophe JAILLET wrote: > This driver does not use i2c, so there is no point in including > <linux/i2c.h> > > Remove it. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: atmel: sam9g20_wm8731: Remove the unneeded include <linux/i2c.h> commit: 8c03fd5fbd3e5a534675dffd5647166e919e1fc2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c index baf38964b491..0405e9e49140 100644 --- a/sound/soc/atmel/sam9g20_wm8731.c +++ b/sound/soc/atmel/sam9g20_wm8731.c @@ -23,7 +23,6 @@ #include <linux/timer.h> #include <linux/interrupt.h> #include <linux/platform_device.h> -#include <linux/i2c.h> #include <linux/of.h> #include <linux/atmel-ssc.h>