[PATCH v2 00/12] mtd: nand: denali: more clean-ups

From: Masahiro Yamada
Date: Thu Sep 21 2017 - 23:48:54 EST



This series make the Denali driver even cleaner and more correct.


Masahiro Yamada (12):
mtd: nand: denali: squash setup_ecc_for_xfer() helper into caller
mtd: nand: denali: prefix detect_max_banks() with denali_
mtd: nand: denali: consolidate include directives
mtd: nand: denali: squash denali_enable_dma() helper into caller
mtd: nand: denali: slight clean up of denali_wait_for_irq()
mtd: nand: denali: clean up macros with <linux/bitfield.h>
mtd: nand: denali: use more FIELD_PREP / FIELD_GET where appropriate
mtd: nand: denali: clean up comments
mtd: nand: denali: use upper/lower_32_bits() macro for clean-up
mtd: nand: denali: remove unneeded init of ECC_ENABLE register
mtd: nand: denali: support direct addressing mode
mtd: nand: denali: change the setup_dma choice into hook

drivers/mtd/nand/denali.c | 277 ++++++++++++++++++------------------------
drivers/mtd/nand/denali.h | 44 +++----
drivers/mtd/nand/denali_dt.c | 4 +-
drivers/mtd/nand/denali_pci.c | 5 +-
4 files changed, 141 insertions(+), 189 deletions(-)

--
2.7.4