[PATCH 00/11] mtd: nand: denali: first round of cleanups of Denali NAND driver

From: Masahiro Yamada
Date: Tue Nov 08 2016 - 23:34:58 EST



I am tackling on this driver to use it for my SoCs.
The difficulty is a bunch of platform specific stuff
(more specifically, Intel MRST specific) is hard-coded in this driver.

I need lots of rework to utilize the driver for generic cases,
but at the same time, I found the driver code is really dirty,
lots of unused code, odd comments, etc.

The first thing I needed to do was to clean up the code.
My work is still under the way, but I decided to drop this series
for now. I hope this series is easy to review, so I guess
splitting into a small chunks is better than a one-shot patch bomb.



Masahiro Yamada (11):
mtd: nand: denali: remove unneeded <linux/slab.h> includes
mtd: nand: denali: remove unused struct member denali_nand_info::idx
mtd: nand: denali: remove bogus comment about interrupt handler setup
mtd: nand: denali: remove detect_partition_feature()
mtd: nand: denali: remove "Spectra:" prefix from printk strings
mtd: nand: denali: remove unused struct member totalblks, blksperchip
mtd: nand: denali: use managed devm_irq_request()
mtd: nand: denali: return error code from devm_request_irq() on error
mtd: nand: denali: return error code from nand_scan_ident/tail on
error
mtd: nand: denali: remove unneeded parentheses
mtd: nand: denali: remove debug lines of __FILE__, __LINE__, __func__

drivers/mtd/nand/denali.c | 101 +++++++++---------------------------------
drivers/mtd/nand/denali.h | 12 -----
drivers/mtd/nand/denali_dt.c | 1 -
drivers/mtd/nand/denali_pci.c | 1 -
4 files changed, 21 insertions(+), 94 deletions(-)

--
1.9.1