Message ID | 9d23cd04d7f99dc8d813584aae5268b57f92fcd8.1682320298.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 b10csp2558734vqo; Mon, 24 Apr 2023 00:22:13 -0700 (PDT) X-Google-Smtp-Source: AKy350YbqtX+McUqK4DLiHirKjEv1Z79mT8+RBA3ac9LMT7/30rOgWuq3y7GlP1kykvdP4eHQFJq X-Received: by 2002:a05:6a00:1914:b0:63b:e4:554 with SMTP id y20-20020a056a00191400b0063b00e40554mr17246333pfi.4.1682320933174; Mon, 24 Apr 2023 00:22:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682320933; cv=none; d=google.com; s=arc-20160816; b=airoJdAHRV7UhIfTnhMMXgXda0CUtGhAngEUADNKTTMMD7HDohDfChxyH3oSb80uso opi90g0hgQQ5hCvs4g8VOuIu5h73kXrVn++vDzohrMRJNJW/EWDWYp2Doz1Pi/ULjbzU mDLbK6TevsXQbWJly7yAjpAXGFw3Fcbe2lrhGjlvC7jTVe9o2ix+Yd11W7BJmJNdXiPC 8Zu1G4L9zYKOtv7qe3KuU8dl2/UU3DzTSYWFleIS23upQgjCnJdgMoONf4nEeLFUeeq/ QfrKSzv/3uecTJSnDiu1q5981D9/8mqWssRvTx0zeKlPIald47sGIzW74wGzz1qQey4v VSqQ== 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=7YBvMG+Q90cl5k9Iz9PAi2dEYCl89Sqol9+/WdhaNKA=; b=pIi53fa5bDBk2ZojHRPQFJfOzCGoAKi8DV/IakbEsBHtq+xelt6wI3wzNaFIUIf8pz 7L4vTSP4yZ/A4JnAtyu+ziVFCSH3O7TYPf1HbBZIHBxuW/usw/H6+vDW/hRkdDk7KVuc pRaCUpFs0a8HgiUjdIkCqLRfx2Y5PBbJydFwJeesx8a6s6eGnfMbOeW5hrG8EFt9etcA s69actJlUffaP4SqCvbI+kOudn3LGJm8E5r+Th5DzGEjS7bOeRWgJCIKwlH8N04cFyRf Xq8+68eifOEu7QPZDTrjHvrvyTu/mfaEWv8lo3qfjetzjlBGzMUSxE0yBoAC/AOZweL9 bX7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=M6DhZrCq; 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 q26-20020a63505a000000b004fb171df693si10217370pgl.352.2023.04.24.00.21.58; Mon, 24 Apr 2023 00:22:13 -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=M6DhZrCq; 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 S231255AbjDXHL7 (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Mon, 24 Apr 2023 03:11:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbjDXHL4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Apr 2023 03:11:56 -0400 Received: from smtp.smtpout.orange.fr (smtp-26.smtpout.orange.fr [80.12.242.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0DCDA0 for <linux-kernel@vger.kernel.org>; Mon, 24 Apr 2023 00:11:55 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id qqMbpbWv0mfq9qqMbpYclq; Mon, 24 Apr 2023 09:11:54 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1682320314; bh=7YBvMG+Q90cl5k9Iz9PAi2dEYCl89Sqol9+/WdhaNKA=; h=From:To:Cc:Subject:Date; b=M6DhZrCqx+oL4E15ADIyF/2+Hqzc/ZpQoMI0P5KC/uD2yf59MNBOZYgCIADvJDZ7H iA8FlWK9GCGIDXL78ZFfP6dYWbSPYH634cW00eJ6l+HQNr5sdUBlyJ9/CV1brjYN1P rED44zr34vwdwUR0lokZ5OWZCMqi1w7AdFsPazASl424mrXv9w1UgIVDHH3RjcZYGv dNP6UXslTorFMiQmV7xBfg+Lvl4hRoQlIBQJBL0RdYXqIjHPADX3ljuVJ/Ql4qu0z/ puB6pMvFMWfnPvCbeSkm6djz5VoQPwmwUyS5zmnyO4ExyD5b1kDKM2FibIblc06ZBY gaxDOrjXHSoWw== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Mon, 24 Apr 2023 09:11:54 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> To: Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de> Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, linux-iio@vger.kernel.org Subject: [PATCH] iio: adc: palmas: Remove the unneeded include <linux/i2c.h> Date: Mon, 24 Apr 2023 09:11:51 +0200 Message-Id: <9d23cd04d7f99dc8d813584aae5268b57f92fcd8.1682320298.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_H3,RCVD_IN_MSPIKE_WL,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?1764041354784553179?= X-GMAIL-MSGID: =?utf-8?q?1764041354784553179?= |
Series |
iio: adc: palmas: Remove the unneeded include <linux/i2c.h>
|
|
Commit Message
Christophe JAILLET
April 24, 2023, 7:11 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>
---
drivers/iio/adc/palmas_gpadc.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Mon, 24 Apr 2023 09:11:51 +0200 Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote: > 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> Hard to argue with that logic :) I guess some long ago cut and paste.. Applied, Thanks, Jonathan > --- > drivers/iio/adc/palmas_gpadc.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c > index c1c439215aeb..42c519504529 100644 > --- a/drivers/iio/adc/palmas_gpadc.c > +++ b/drivers/iio/adc/palmas_gpadc.c > @@ -14,7 +14,6 @@ > #include <linux/platform_device.h> > #include <linux/slab.h> > #include <linux/delay.h> > -#include <linux/i2c.h> > #include <linux/pm.h> > #include <linux/mfd/palmas.h> > #include <linux/completion.h>
diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c index c1c439215aeb..42c519504529 100644 --- a/drivers/iio/adc/palmas_gpadc.c +++ b/drivers/iio/adc/palmas_gpadc.c @@ -14,7 +14,6 @@ #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/delay.h> -#include <linux/i2c.h> #include <linux/pm.h> #include <linux/mfd/palmas.h> #include <linux/completion.h>