diff mbox

mtd: nand: drop unneeded module.h include

Message ID 20170502000455.13240-3-computersforpeace@gmail.com
State Accepted
Commit 0545c1720277dd246bd682b23aee425f3830a14f
Delegated to: Brian Norris
Headers show

Commit Message

Brian Norris May 2, 2017, 12:04 a.m. UTC
nand_ids isn't a separate module anymore and doesn't need this header.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 drivers/mtd/nand/nand_ids.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Boris Brezillon May 2, 2017, 7:16 a.m. UTC | #1
On Mon,  1 May 2017 17:04:52 -0700
Brian Norris <computersforpeace@gmail.com> wrote:

> nand_ids isn't a separate module anymore and doesn't need this header.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> ---
>  drivers/mtd/nand/nand_ids.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
> index 9d5ca0e540b5..92e2cf8e9ff9 100644
> --- a/drivers/mtd/nand/nand_ids.c
> +++ b/drivers/mtd/nand/nand_ids.c
> @@ -6,7 +6,6 @@
>   * published by the Free Software Foundation.
>   *
>   */
> -#include <linux/module.h>
>  #include <linux/mtd/nand.h>
>  #include <linux/sizes.h>
>
Boris Brezillon May 15, 2017, 8:50 p.m. UTC | #2
On Mon,  1 May 2017 17:04:52 -0700
Brian Norris <computersforpeace@gmail.com> wrote:

> nand_ids isn't a separate module anymore and doesn't need this header.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Applied to nand/fixes.

Thanks,

Boris

> ---
>  drivers/mtd/nand/nand_ids.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
> index 9d5ca0e540b5..92e2cf8e9ff9 100644
> --- a/drivers/mtd/nand/nand_ids.c
> +++ b/drivers/mtd/nand/nand_ids.c
> @@ -6,7 +6,6 @@
>   * published by the Free Software Foundation.
>   *
>   */
> -#include <linux/module.h>
>  #include <linux/mtd/nand.h>
>  #include <linux/sizes.h>
>
diff mbox

Patch

diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
index 9d5ca0e540b5..92e2cf8e9ff9 100644
--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -6,7 +6,6 @@ 
  * published by the Free Software Foundation.
  *
  */
-#include <linux/module.h>
 #include <linux/mtd/nand.h>
 #include <linux/sizes.h>