[PATCH 1/1] mtd: s3c2410: Merge plat/regs-nand.h into s3c2410.c

kgene at kernel.org kgene at kernel.org
Fri Jan 3 20:46:18 EST 2014


Sachin Kamat wrote:
> 
> plat/regs-nand.h is used only by S3C2410 nand driver. Since there
> are no other users, merge this file into the driver code to remove
> platform dependency.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
> ---
> The earlier version of this patch was titled
> "mtd: s3c2410: Move plat/regs-nand.h to drivers/mtd".
> Please ignore that.
> ---
> 
>  arch/arm/plat-samsung/include/plat/regs-nand.h |  123 -------------------
> -----
>  drivers/mtd/nand/s3c2410.c                     |  104
+++++++++++++++++++-
>  2 files changed, 103 insertions(+), 124 deletions(-)
>  delete mode 100644 arch/arm/plat-samsung/include/plat/regs-nand.h
> 
Moving looks good, but if some of them are not used, we don't need to keep
them while moving.

Thanks,
Kukjin




More information about the linux-mtd mailing list