[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230615164210.25515-1-andriy.shevchenko@linux.intel.com>
Date: Thu, 15 Jun 2023 19:42:10 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Miquel Raynal <miquel.raynal@...tlin.com>,
JaimeLiao <jaimeliao.tw@...il.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Cc: Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH v1 1/1] mtd: rawnand: Remove unused of_gpio.h inclusion
The of_gpio.h is not and shouldn't be used in the drivers. Remove it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
---
drivers/mtd/nand/raw/nand_base.c | 1 -
drivers/mtd/nand/raw/xway_nand.c | 1 -
2 files changed, 2 deletions(-)
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>
--
2.40.0.1.gaa8946217a0b
Powered by blists - more mailing lists