* [PATCH] mtd: rawnand: intel: Remove macro that is already defined in the core
@ 2022-08-01 2:57 Tudor Ambarus
2022-09-20 8:10 ` Miquel Raynal
0 siblings, 1 reply; 2+ messages in thread
From: Tudor Ambarus @ 2022-08-01 2:57 UTC (permalink / raw)
To: miquel.raynal, richard, vigneshr
Cc: novikov, vasilyev, kirill.shilimanov, linux-mtd, linux-kernel,
Tudor Ambarus
NAND_DATA_IFACE_CHECK_ONLY is already defined in
include/linux/mtd/rawnand.h. The intel driver includes
<linux/mtd/rawnand.h>, so remove the duplicate definition from the intel
driver.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
drivers/mtd/nand/raw/intel-nand-controller.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/intel-nand-controller.c b/drivers/mtd/nand/raw/intel-nand-controller.c
index 7c1c80dae826..fbf6731420d6 100644
--- a/drivers/mtd/nand/raw/intel-nand-controller.c
+++ b/drivers/mtd/nand/raw/intel-nand-controller.c
@@ -99,8 +99,6 @@
#define HSNAND_ECC_OFFSET 0x008
-#define NAND_DATA_IFACE_CHECK_ONLY -1
-
#define MAX_CS 2
#define USEC_PER_SEC 1000000L
--
2.25.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: rawnand: intel: Remove macro that is already defined in the core
2022-08-01 2:57 [PATCH] mtd: rawnand: intel: Remove macro that is already defined in the core Tudor Ambarus
@ 2022-09-20 8:10 ` Miquel Raynal
0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2022-09-20 8:10 UTC (permalink / raw)
To: Tudor Ambarus
Cc: richard, vigneshr, novikov, vasilyev, kirill.shilimanov,
linux-mtd, linux-kernel
Hi Tudor,
tudor.ambarus@microchip.com wrote on Mon, 1 Aug 2022 05:57:40 +0300:
> NAND_DATA_IFACE_CHECK_ONLY is already defined in
> include/linux/mtd/rawnand.h. The intel driver includes
> <linux/mtd/rawnand.h>, so remove the duplicate definition from the intel
> driver.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
> ---
> drivers/mtd/nand/raw/intel-nand-controller.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/mtd/nand/raw/intel-nand-controller.c b/drivers/mtd/nand/raw/intel-nand-controller.c
> index 7c1c80dae826..fbf6731420d6 100644
> --- a/drivers/mtd/nand/raw/intel-nand-controller.c
> +++ b/drivers/mtd/nand/raw/intel-nand-controller.c
> @@ -99,8 +99,6 @@
>
> #define HSNAND_ECC_OFFSET 0x008
>
> -#define NAND_DATA_IFACE_CHECK_ONLY -1
> -
> #define MAX_CS 2
>
> #define USEC_PER_SEC 1000000L
Actually I already received a series which contains a patch doing
exactly that. But thanks anyway :-)
Cheers,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-20 8:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 2:57 [PATCH] mtd: rawnand: intel: Remove macro that is already defined in the core Tudor Ambarus
2022-09-20 8:10 ` Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).