diff mbox

[RESEND] memory: omap-gpmc: Drop gpmc_status

Message ID 20171006114553.pch2aybjovf7diiy@lenoch (mailing list archive)
State New, archived
Headers show

Commit Message

Ladislav Michl Oct. 6, 2017, 11:45 a.m. UTC
This field is no longer used, drop it.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 Resend as it was previously lost in the last patchset.

 drivers/memory/omap-gpmc.c                   | 1 -
 include/linux/platform_data/mtd-nand-omap2.h | 2 --
 2 files changed, 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Roger Quadros Oct. 12, 2017, 10:26 a.m. UTC | #1
Hi,


Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

On 06/10/17 14:45, Ladislav Michl wrote:
> This field is no longer used, drop it.
>
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> ---

Thanks, queued this for -next.

>  Resend as it was previously lost in the last patchset.
>
>  drivers/memory/omap-gpmc.c                   | 1 -
>  include/linux/platform_data/mtd-nand-omap2.h | 2 --
>  2 files changed, 3 deletions(-)
>
> diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
> index 16f3c068cf8c..037b146df154 100644
> --- a/drivers/memory/omap-gpmc.c
> +++ b/drivers/memory/omap-gpmc.c
> @@ -1079,7 +1079,6 @@ void gpmc_update_nand_reg(struct gpmc_nand_regs *reg, int cs)
>  {
>       int i;
>
> -     reg->gpmc_status = NULL;        /* deprecated */
>       reg->gpmc_nand_command = gpmc_base + GPMC_CS0_OFFSET +
>                               GPMC_CS_NAND_COMMAND + GPMC_CS_SIZE * cs;
>       reg->gpmc_nand_address = gpmc_base + GPMC_CS0_OFFSET +
> diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h
> index 17d57a18bac5..25e267f1970c 100644
> --- a/include/linux/platform_data/mtd-nand-omap2.h
> +++ b/include/linux/platform_data/mtd-nand-omap2.h
> @@ -63,8 +63,6 @@ struct gpmc_nand_regs {
>       void __iomem    *gpmc_bch_result4[GPMC_BCH_NUM_REMAINDER];
>       void __iomem    *gpmc_bch_result5[GPMC_BCH_NUM_REMAINDER];
>       void __iomem    *gpmc_bch_result6[GPMC_BCH_NUM_REMAINDER];
> -     /* Deprecated. Do not use */
> -     void __iomem    *gpmc_status;
>  };
>
>  struct omap_nand_platform_data {
>

--
cheers,
-roger

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index 16f3c068cf8c..037b146df154 100644
--- a/drivers/memory/omap-gpmc.c
+++ b/drivers/memory/omap-gpmc.c
@@ -1079,7 +1079,6 @@  void gpmc_update_nand_reg(struct gpmc_nand_regs *reg, int cs)
 {
 	int i;
 
-	reg->gpmc_status = NULL;	/* deprecated */
 	reg->gpmc_nand_command = gpmc_base + GPMC_CS0_OFFSET +
 				GPMC_CS_NAND_COMMAND + GPMC_CS_SIZE * cs;
 	reg->gpmc_nand_address = gpmc_base + GPMC_CS0_OFFSET +
diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h
index 17d57a18bac5..25e267f1970c 100644
--- a/include/linux/platform_data/mtd-nand-omap2.h
+++ b/include/linux/platform_data/mtd-nand-omap2.h
@@ -63,8 +63,6 @@  struct gpmc_nand_regs {
 	void __iomem	*gpmc_bch_result4[GPMC_BCH_NUM_REMAINDER];
 	void __iomem	*gpmc_bch_result5[GPMC_BCH_NUM_REMAINDER];
 	void __iomem	*gpmc_bch_result6[GPMC_BCH_NUM_REMAINDER];
-	/* Deprecated. Do not use */
-	void __iomem	*gpmc_status;
 };
 
 struct omap_nand_platform_data {