[PATCH v1 1/1] mtd: rawnand: Remove unused of_gpio.h inclusion

From: Andy Shevchenko
Date: Thu Jun 15 2023 - 12:42:54 EST


The of_gpio.h is not and shouldn't be used in the drivers. Remove it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
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