Message ID | df555e724d1b52bd9958c0bd729a774dfe0cf150.1682237387.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 b10csp2087576vqo; Sun, 23 Apr 2023 01:26:17 -0700 (PDT) X-Google-Smtp-Source: AKy350bMV1O25xSABQSkmIlPXMXJhElXAC5BPK0fWI2oihnEUeX3KXcRp1AwQZEQFBqQzgoZSs7h X-Received: by 2002:a17:902:e812:b0:19f:8ad5:4331 with SMTP id u18-20020a170902e81200b0019f8ad54331mr12731982plg.38.1682238377534; Sun, 23 Apr 2023 01:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682238377; cv=none; d=google.com; s=arc-20160816; b=hw+J87zmdaJLE/zT2j0I4HVeRBU4nhOb6XxY+Q++B1FhFkbHO6N9UtRCMFkNvsaygb CGMH+sN4+LNSyDAZyMUP6DlVAinoe44MehZewS22CQMsGRHqRlcd89GAZGP61ZheSj6d LOrZ33OI43JPOEo3AXpXTjsMcoSUFH/h0x7HCY3NV0JLefcbRVQ4ojQKFmUOIx4Iq25c rRYuJ7oxhTXjHbj/NzFv/VDcYe/y0Oc+rlg51T1KrLoJqQ4xsejxPpKNIove8365bGur a9Rw0uB/YggH4YYJeg5ob9hqooKOe6olUSXXxZJdkiS6Noyucx6w8zL2YMwzhmHHYzTq eDJQ== 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=eUw6lwCqRPFGvEY7KIEtjH9lv7Qyusv4qg87RM8p+Os=; b=NIdvfLeAkAPlnFUkvfwKU0Y0/EXj27NnjimTniomEUOShN3HUVpMrA4Wr572wzOn25 Whg291/2GcL4FfwKHQeFlPHkTz6tvZ2FmQVgwW6mqCzB69uWU4qZitRuU+w983kMiYfT RCT71xREtzmTj7omzIaw4YrK1LKFZhMnch2zkL4QevrXjbbsWPWaV2Lwk8s12OgfLE55 IyuXp5+eSVygCl8tiH7NT6LlCupcuEqZ3iH1MNBM5ClrjbE4sva7wJznuI8AJh4jSocb cDnfu7s/2gTydLaaW08Zjidxumu/wSpdqgzu9lHyL4krtnVdteLrF5IvvKtEQjKeOWiW Degw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=ba51sbsn; 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 l63-20020a638842000000b00513f15fed4fsi8643061pgd.590.2023.04.23.01.26.05; Sun, 23 Apr 2023 01:26:17 -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=ba51sbsn; 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 S229470AbjDWIKS (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Sun, 23 Apr 2023 04:10:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbjDWIKP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 23 Apr 2023 04:10:15 -0400 Received: from smtp.smtpout.orange.fr (smtp-14.smtpout.orange.fr [80.12.242.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCD79172C for <linux-kernel@vger.kernel.org>; Sun, 23 Apr 2023 01:10:13 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id qUnQpJWEt3pfeqUnQpzkaa; Sun, 23 Apr 2023 10:10:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1682237412; bh=eUw6lwCqRPFGvEY7KIEtjH9lv7Qyusv4qg87RM8p+Os=; h=From:To:Cc:Subject:Date; b=ba51sbsnfIixWqGK5DHuJtf4xIHn7siFvpLbbsut35d2LZflItCMtJxXNagucBove /zVsrmifLGr0fmdPLXwp4uR7xFLHtb4Mlg3gQubufLRNCUGj3ZtecOUCWGdlgi2K59 Wt5uMSCYPBMpkWY1fZaeTeS87dqKC0Ocx8/lHCUXOTSfx6CJnOtAo08+Q7y4nhhn0S Xd5CgZo6E8dKic7bYuLgA6K8w5EwZUrtb3PgwXARyFRIhSNDneaoEOdyG7puE4wiSJ TNkPCzsBKDfGLdO2ztWV3/OQeTw9n6Gj5d0xACkL/1OxvBlpFKz/Zh8L+7wauB0/zK 4c5FZ2++bSFQw== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 23 Apr 2023 10:10:12 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> To: Charles Keepax <ckeepax@opensource.cirrus.com>, Richard Fitzgerald <rf@opensource.cirrus.com>, Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net> Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, patches@opensource.cirrus.com, linux-hwmon@vger.kernel.org Subject: [PATCH] hwmon: lochnagar: Remove the unneeded include <linux/i2c.h> Date: Sun, 23 Apr 2023 10:10:07 +0200 Message-Id: <df555e724d1b52bd9958c0bd729a774dfe0cf150.1682237387.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?1763954789393651353?= X-GMAIL-MSGID: =?utf-8?q?1763954789393651353?= |
Series |
hwmon: lochnagar: Remove the unneeded include <linux/i2c.h>
|
|
Commit Message
Christophe JAILLET
April 23, 2023, 8:10 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/hwmon/lochnagar-hwmon.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Sun, Apr 23, 2023 at 10:10:07AM +0200, Christophe JAILLET 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> Applied. Thanks, Guenter
diff --git a/drivers/hwmon/lochnagar-hwmon.c b/drivers/hwmon/lochnagar-hwmon.c index 9948e2f7208d..6350904a8a8b 100644 --- a/drivers/hwmon/lochnagar-hwmon.c +++ b/drivers/hwmon/lochnagar-hwmon.c @@ -11,7 +11,6 @@ #include <linux/delay.h> #include <linux/hwmon.h> #include <linux/hwmon-sysfs.h> -#include <linux/i2c.h> #include <linux/math64.h> #include <linux/mfd/lochnagar.h> #include <linux/mfd/lochnagar2_regs.h>