Message ID | 128025bf5b81f5424db2202b0c8cfd9722c28aab.1682319383.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 b10csp2557017vqo; Mon, 24 Apr 2023 00:18:02 -0700 (PDT) X-Google-Smtp-Source: AKy350awkwXGo3hRvtE0imn7Yr204Om8VuogjKkGdnwAnxdHEP2WnfwtmBKZAj/tmq7fS5CZiEFv X-Received: by 2002:a17:90b:3a88:b0:247:6023:f884 with SMTP id om8-20020a17090b3a8800b002476023f884mr13764326pjb.15.1682320682134; Mon, 24 Apr 2023 00:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682320682; cv=none; d=google.com; s=arc-20160816; b=wSeNnPPcXkwGYhYJpPz/syGGWquxARA/0tY2U4A6eJZn09oW4f0Vepz+vfnOkSd77E jK1eA5PNAoT+slGc3WMGtSiFT5aFv+U5Ee+hKFoZNDZDdrAzU3+W0/7qTLflwFLus+tW F+2jM76k1tGkDi5s70NtNO3TzIrOGy5bUvhhDZVvYSVghmBmWNa1w+uo2bR17xyBTLQX L+W72Mc1Sr/SDn+gTr13Lv8vUSzuc6I5ohxAnL8UffH5s0W/F4MJvSRnUyaUXzqaoXDv 4SObrwjZ5uRqC82EqU6O0lzfFx7SMHp7QbIm4XyaTC2vQoFa6fa+e5usXluBUJ2A3OJV TnAQ== 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=sv4+9V+79L7JIkIFQr4LHHxT2Rej6AyKPx3VrA1kgYY=; b=dM/7hDC3NhRxhhqDimaWL6t7ixRpxWTAy494VCgZTdi4ebe/MtkLDod1AnK720wS+K FRYrh2Y7TuTGGW3e0ineFqjrdvagXvY2NBVN0WUbrP6S0QLTvxhgAqV8ViqeORCcszR1 OmswifOZV8asGxVh+gkgE8HGvsK3hioJlNMo42p4dYE3bGUAql3989BUDDLyr0AYk0hV EzWy58OPR7DdbPvdG+PnUzrw1Pn77rf6VJDjp5t+jQ35KxN7ptxXseFEjaDWZR/brQwu ddjff2Rjo2m9jkCJiGzmITYNRqCExXTdZkx9u0Peh8HgnwYDNmoIaRSsQ4vGpVpvDycS Wg6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=KjzVa0KU; 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 x15-20020a170902ec8f00b001a217a73d56si11502025plg.161.2023.04.24.00.17.45; Mon, 24 Apr 2023 00:18:02 -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=KjzVa0KU; 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 S230358AbjDXG4w (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Mon, 24 Apr 2023 02:56:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbjDXG4u (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Apr 2023 02:56:50 -0400 Received: from smtp.smtpout.orange.fr (smtp-26.smtpout.orange.fr [80.12.242.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A8101700 for <linux-kernel@vger.kernel.org>; Sun, 23 Apr 2023 23:56:38 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id qq7npmbKSs9Agqq7oprqv5; Mon, 24 Apr 2023 08:56:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1682319396; bh=sv4+9V+79L7JIkIFQr4LHHxT2Rej6AyKPx3VrA1kgYY=; h=From:To:Cc:Subject:Date; b=KjzVa0KUsTUUxW75B+QaBRVX2IB/LaPlhbU9LpOf40XLRm4wddYLfaI61b4zq9yhc hMOQgUXUhUq/7RNkDJ0kB18PD6PslFnCqaJ5taYbtMzH/NwqVxf69akBHu9EEpn7rj mrNIwv1awCRkC0YU4WC00qsm+RZkqhVluqphOdyG3mSTgzi9D8peC2jyqqJcPLR7by OZ+FYaBvxABwCOgX++jZHtPN44ukx0rsG6o5EBtdVI4AYWTag4YKoNvOOfkcZrhtxu QJjjo0ImDfNu1ONfXPQ7kMqRuP9HdxJ1RCe2szaNM0fWvITZi96aBSZ2pIfUK8ntwE kwzA8gKI/IhBw== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Mon, 24 Apr 2023 08:56:36 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> To: Lee Jones <lee@kernel.org> Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET <christophe.jaillet@wanadoo.fr> Subject: [PATCH] mfd: rc5t583-irq: Remove the unneeded include <linux/i2c.h> Date: Mon, 24 Apr 2023 08:56:34 +0200 Message-Id: <128025bf5b81f5424db2202b0c8cfd9722c28aab.1682319383.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?1764041091941810907?= X-GMAIL-MSGID: =?utf-8?q?1764041091941810907?= |
Series |
mfd: rc5t583-irq: Remove the unneeded include <linux/i2c.h>
|
|
Commit Message
Christophe JAILLET
April 24, 2023, 6:56 a.m. UTC
This driver does not use i2c, so there is no point in including
<linux/i2c.h>
Remove it and add the needed <linux/device.h> instead, which is much more
lightweight.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
drivers/mfd/rc5t583-irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Mon, 24 Apr 2023, Christophe JAILLET wrote: > This driver does not use i2c, so there is no point in including > <linux/i2c.h> > > Remove it and add the needed <linux/device.h> instead, which is much more > lightweight. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > --- > drivers/mfd/rc5t583-irq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks
diff --git a/drivers/mfd/rc5t583-irq.c b/drivers/mfd/rc5t583-irq.c index 621ea61fa7c6..97f52b671520 100644 --- a/drivers/mfd/rc5t583-irq.c +++ b/drivers/mfd/rc5t583-irq.c @@ -8,9 +8,9 @@ * based on code * Copyright (C) 2011 RICOH COMPANY,LTD */ +#include <linux/device.h> #include <linux/interrupt.h> #include <linux/irq.h> -#include <linux/i2c.h> #include <linux/mfd/rc5t583.h> enum int_type {