mtd: rawnand: Remove unused of_gpio.h inclusion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Jun 2023 16:42:10 +0000 (19:42 +0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 16 Oct 2023 09:24:10 +0000 (11:24 +0200)
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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/xway_nand.c

index d4b55155aeae90e8d32917917b56026c758cb5de..61240850080484fc04b18642ca5257a1ae8f0aff 100644 (file)
@@ -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"
index 51d802a165edf0fe5f51c4fbc57e0c8bb350cd50..008549011fb91c6330fb00c5990c1b4d167bae02 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <linux/mtd/rawnand.h>
-#include <linux/of_gpio.h>
 #include <linux/of.h>
 #include <linux/platform_device.h>