Re: [PATCH 00/10] mtd: rawnand: 4th batch of cleanups

Miquel Raynal
2018-12-07T18:49:57Z

Hi Boris,

Boris Brezillon <boris.brezillon@bootlin.com> wrote on Tue, 20 Nov 2018
10:02:29 +0100:

> Hello,
>
> This time on I deprecate the dummy controller field, as we try to force
> people to declare their own controller instance.
>
> Patches 1 to 9 are cleanup patches for the fsmc and vf610 drivers, the
> most important ones being patch 3 and 8 where we declare a
> nand_controller instance instead of using the dummy one. By doing this
> we make sure these drivers keep not using any deprecated fields and can
> thus serve as examples to other developers.
>
> Patch 10 is deprecating the dummy_controller field by moving it to the
> nand_legacy struct.
>
> Regards,
>
> Boris
>
> Boris Brezillon (10):
> mtd: rawnand: fsmc: Stop passing mtd_info objects to internal
> functions
> mtd: rawnand: fsmc: Fix the fsmc_nand_data kernel-doc
> mtd: rawnand: fsmc: Make conversion from chip to fsmc consistent
> mtd: rawnand: fsmc: Stop using the dummy controller obj
> mtd: rawnand: fsmc: Add an SPDX tag to replace the license text
> mtd: rawnand: fsmc: Fix all coding style issues reported by checkpatch
> mtd: rawnand: vf610: Stop passing mtd_info to internal functions
> mtd: rawnand: vf610: Stop using the dummy controller obj
> mtd: rawnand: vf610: Add an SPDX tag to replace the license text
> mtd: rawnand: Deprecate the dummy_controller field
>
> drivers/mtd/nand/raw/cafe_nand.c | 2 +-
> drivers/mtd/nand/raw/davinci_nand.c | 2 +-
> drivers/mtd/nand/raw/denali.c | 2 +-
> drivers/mtd/nand/raw/fsmc_nand.c | 264 ++++++++++-----------
> drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 2 +-
> drivers/mtd/nand/raw/hisi504_nand.c | 2 +-
> drivers/mtd/nand/raw/jz4740_nand.c | 2 +-
> drivers/mtd/nand/raw/lpc32xx_mlc.c | 2 +-
> drivers/mtd/nand/raw/lpc32xx_slc.c | 2 +-
> drivers/mtd/nand/raw/mxc_nand.c | 2 +-
> drivers/mtd/nand/raw/nand_base.c | 2 +-
> drivers/mtd/nand/raw/nandsim.c | 2 +-
> drivers/mtd/nand/raw/sh_flctl.c | 2 +-
> drivers/mtd/nand/raw/sm_common.c | 2 +-
> drivers/mtd/nand/raw/vf610_nfc.c | 60 ++---
> include/linux/mtd/rawnand.h | 6 +-
> 16 files changed, 171 insertions(+), 185 deletions(-)
>

Applied to nand/next.

Thanks,
Miquèl