2017-06-13 12:58:47

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH] mtd: nand: atmel_nand: drop unused include

The Atmel NAND driver doesn't used anything from
linux/platform_data/atmel.h, stop including it.

Signed-off-by: Alexandre Belloni <[email protected]>
---
drivers/mtd/nand/atmel/nand-controller.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/atmel/nand-controller.c b/drivers/mtd/nand/atmel/nand-controller.c
index 3b2446896147..6bd61acfc2c8 100644
--- a/drivers/mtd/nand/atmel/nand-controller.c
+++ b/drivers/mtd/nand/atmel/nand-controller.c
@@ -64,7 +64,6 @@
#include <linux/of_platform.h>
#include <linux/iopoll.h>
#include <linux/platform_device.h>
-#include <linux/platform_data/atmel.h>
#include <linux/regmap.h>

#include "pmecc.h"
--
2.11.0


2017-06-13 13:14:59

by Boris Brezillon

[permalink] [raw]
Subject: Re: [PATCH] mtd: nand: atmel_nand: drop unused include

On Tue, 13 Jun 2017 14:58:42 +0200
Alexandre Belloni <[email protected]> wrote:

> The Atmel NAND driver doesn't used anything from
> linux/platform_data/atmel.h, stop including it.
>

Applied.

Thanks,

Boris

> Signed-off-by: Alexandre Belloni <[email protected]>
> ---
> drivers/mtd/nand/atmel/nand-controller.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/atmel/nand-controller.c b/drivers/mtd/nand/atmel/nand-controller.c
> index 3b2446896147..6bd61acfc2c8 100644
> --- a/drivers/mtd/nand/atmel/nand-controller.c
> +++ b/drivers/mtd/nand/atmel/nand-controller.c
> @@ -64,7 +64,6 @@
> #include <linux/of_platform.h>
> #include <linux/iopoll.h>
> #include <linux/platform_device.h>
> -#include <linux/platform_data/atmel.h>
> #include <linux/regmap.h>
>
> #include "pmecc.h"