Message ID | 20230615164210.25515-1-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp773337vqr; Thu, 15 Jun 2023 09:49:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ43orQFO6KGyFaBdlwXOL4grBosb4WmjJzdeM5pqF3G5Ed4XDbxJTmBaz4Y6+GimPAEGo2E X-Received: by 2002:a05:6a20:2445:b0:114:fc15:de03 with SMTP id t5-20020a056a20244500b00114fc15de03mr6575513pzc.37.1686847765453; Thu, 15 Jun 2023 09:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686847765; cv=none; d=google.com; s=arc-20160816; b=IxxWy00gEIF/GxUFyWuWxLeQqJRYL1Nt7qp9sHiqzo2HSsJuh/U95ie/PMRMMl+6Pf bouwXW7Tdz8/wx8y7+qsKe3rub7Mbvh3xULyqyasrcH84yuI6ONqH/J3XZRKCfjJiix7 tAObDRsnGRiqADqghla1xcV7Mwfe0VzISOGPRJ487paqCmlEKwN1ZojyeGg0YR0TmxFM WfqDuFl4UM1NEAtLoEalURNH2yuuABSKBCLa2SDkl9PXlnpic2PNVNotGf2IYPE/TFwh V54oHxkXrD3xi+FP44SZAhjC2M47kKL3YpRFq9WnY7MKt1Bq5sa7Bri4r7j97MQJCc34 7T4w== 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=lLTNJNeI48s4L7+IJF+pUmz9Lj6OCTwSfNiIqXLwRoc=; b=h5cnKy/TwUa1e9FZpw3D0Q72HB3SbSxDRLRAn9rTw408+C+HxIJfu/r+F3LM1AZz8B SRCO5x+u6y+qpDNFb4QMVrY5J/bSOYi1rRjBJyyoKhh/BOTHrSCCTU62FmMs9saJE+38 oBP2F/8vGpFy50QFeDtYXgTYdtyeh2cjkTTzsmj1pYu42oP5UYc8ruQ7B5DoosKqmXF4 ObGTiDTrkeplrdKrew4Ipid3B6360WTCaRBJ3I6fj+WEwt7eL+fZtA2RDnaRTTtVQHMh I6MZGzhRwmZTZNYpejaPTyEdTfnoBlRZHh11oILkEnOCohNcb6D142/2jFumZun1kk08 7Dbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Hvaz0Q7p; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s185-20020a6377c2000000b0054f9f9bbecesi6873921pgc.515.2023.06.15.09.49.09; Thu, 15 Jun 2023 09:49:25 -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=@intel.com header.s=Intel header.b=Hvaz0Q7p; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236191AbjFOQmb (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Thu, 15 Jun 2023 12:42:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235531AbjFOQmG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 15 Jun 2023 12:42:06 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83F0626BA for <linux-kernel@vger.kernel.org>; Thu, 15 Jun 2023 09:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686847325; x=1718383325; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=SjfkhPAqQ8PyzFqydNEFnaWjUK63HBu4s/AtSRqBNIk=; b=Hvaz0Q7p0XIaxUydNFugAE9dQOWiGn9PuOJb3GyIgKSadpv7PhUhT8YD YMebWk6R7sM5P3rSmClUff7CvaIsPgXPcQKShhNUSjVwYmTW+4F7PL4il 31Cdmf2M8h0cjT1tCbkAK1bvufr/j27AbzyhUa5iC3BZxIT1/5aO+ZZfj 1ldQQHyKW7bRBlD6OxvpNwkOBNHB1c6bNKGLvdtLWIL1XERfErRmCkFU+ u9j7XQz3p0SPzFL9cfotMv2+M0/u2LXBCGj2IqraBFBt/7tlvKHYXeNEE CEXrht0KoBiXdj7ONWMoHNNloRpcZARwpNe2peiSVamhYJovf+WCWkz9e w==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="343702876" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="343702876" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 09:42:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="777742128" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="777742128" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 15 Jun 2023 09:42:02 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 624C5379; Thu, 15 Jun 2023 19:42:11 +0300 (EEST) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Miquel Raynal <miquel.raynal@bootlin.com>, JaimeLiao <jaimeliao.tw@gmail.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, =?utf-8?q?Uwe_Kle?= =?utf-8?q?ine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com> Subject: [PATCH v1 1/1] mtd: rawnand: Remove unused of_gpio.h inclusion Date: Thu, 15 Jun 2023 19:42:10 +0300 Message-Id: <20230615164210.25515-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, 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?1768788082119828733?= X-GMAIL-MSGID: =?utf-8?q?1768788082119828733?= |
Series |
[v1,1/1] mtd: rawnand: Remove unused of_gpio.h inclusion
|
|
Commit Message
Andy Shevchenko
June 15, 2023, 4:42 p.m. UTC
The of_gpio.h is not and shouldn't be used in the drivers. Remove it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/mtd/nand/raw/nand_base.c | 1 -
drivers/mtd/nand/raw/xway_nand.c | 1 -
2 files changed, 2 deletions(-)
Comments
On Thu, Jun 15, 2023 at 6:42 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > The of_gpio.h is not and shouldn't be used in the drivers. Remove it. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
On Fri, Jun 16, 2023 at 12:10:52AM +0200, Martin Blumenstingl wrote: > On Thu, Jun 15, 2023 at 6:42 PM Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > > > The of_gpio.h is not and shouldn't be used in the drivers. Remove it. > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Thank you! Can it be applied now?
+Cc: GPIO maintainers On Mon, Jul 10, 2023 at 01:00:51PM +0300, Andy Shevchenko wrote: > On Fri, Jun 16, 2023 at 12:10:52AM +0200, Martin Blumenstingl wrote: > > On Thu, Jun 15, 2023 at 6:42 PM Andy Shevchenko > > <andriy.shevchenko@linux.intel.com> wrote: > > > > > > The of_gpio.h is not and shouldn't be used in the drivers. Remove it. > > > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> > > Thank you! > > Can it be applied now? So, this is still not applied, does it mean we need to go via GPIO tree with it?
Hi Andy, andriy.shevchenko@linux.intel.com wrote on Fri, 6 Oct 2023 18:14:24 +0300: > +Cc: GPIO maintainers > > On Mon, Jul 10, 2023 at 01:00:51PM +0300, Andy Shevchenko wrote: > > On Fri, Jun 16, 2023 at 12:10:52AM +0200, Martin Blumenstingl wrote: > > > On Thu, Jun 15, 2023 at 6:42 PM Andy Shevchenko > > > <andriy.shevchenko@linux.intel.com> wrote: > > > > > > > > The of_gpio.h is not and shouldn't be used in the drivers. Remove it. > > > > > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > > Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> > > > > Thank you! > > > > Can it be applied now? > > So, this is still not applied, does it mean we need to go via GPIO tree > with it? I remember your ping and also answering it, but I cannot find it. Let me look into this. In any case, apologies for that. Thanks, Miquèl
diff --git a/drivers/mtd/nand/raw/nand_base.c b/drivers/mtd/nand/raw/nand_base.c index a6af521832aa..132e3bee8f5a 100644 --- a/drivers/mtd/nand/raw/nand_base.c +++ b/drivers/mtd/nand/raw/nand_base.c @@ -42,7 +42,6 @@ #include <linux/io.h> #include <linux/mtd/partitions.h> #include <linux/of.h> -#include <linux/of_gpio.h> #include <linux/gpio/consumer.h> #include "internals.h" diff --git a/drivers/mtd/nand/raw/xway_nand.c b/drivers/mtd/nand/raw/xway_nand.c index 6b1e2a2bba15..5a19b6b314b4 100644 --- a/drivers/mtd/nand/raw/xway_nand.c +++ b/drivers/mtd/nand/raw/xway_nand.c @@ -6,7 +6,6 @@ */ #include <linux/mtd/rawnand.h> -#include <linux/of_gpio.h> #include <linux/of_platform.h> #include <lantiq_soc.h>