Skip to content

mtd: cleanup partition handling in OF-enabled drivers

Dmitry Eremin-Solenikov linux-mtd 1 version Applied

Status from this message: Pushed to l2-mtd-2.6.git, thanks for good cleanups.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest18 patches 1 replyApplied

Changes in v2 from the cover letter

* Tab-vs-space cleanup
* 80-column cleanup
* documented of_node parser data field
* changed documentation for parser_data arguments

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/18mtd: abstract last MTD partition parser argumentdrivers/mtd/afs.c drivers/mtd/ar7part.c drivers/mtd/cmdlinepart.c +5 more+34 -210 replies
2/18mtd: prepare to convert of_mtd_parse_partitions to partition parserdrivers/mtd/mtdpart.c drivers/mtd/ofpart.c include/linux/mtd/partitions.h+36 -50 replies
3/18mtd: physmap_of: use ofpart through generic parsingdrivers/mtd/maps/physmap_of.c+5 -80 replies
4/18mtd: m25p80: use ofpart through generic parsingdrivers/mtd/devices/m25p80.c+3 -80 replies
5/18mtd: fsl_elbc_nand: use ofpart through generic parsingdrivers/mtd/nand/fsl_elbc_nand.c+4 -80 replies
6/18mtd: fsl_upm: use ofpart through generic parsingdrivers/mtd/nand/fsl_upm.c+3 -80 replies
7/18mtd: mpc5121_nfc: use ofpart through generic parsingdrivers/mtd/nand/mpc5121_nfc.c+3 -50 replies
8/18mtd: ndfc: use ofpart through generic parsingdrivers/mtd/nand/ndfc.c+3 -80 replies
9/18mtd: socrates_nand: use ofpart through generic parsingdrivers/mtd/nand/socrates_nand.c+3 -110 replies
10/18mtd: drop of_mtd_parse_partitions()drivers/mtd/ofpart.c include/linux/mtd/partitions.h+9 -270 replies
11/18mtd: physmap_of: move parse_obsolete_partitions to become separate parserdrivers/mtd/maps/physmap_of.c drivers/mtd/ofpart.c+75 -530 replies
12/18mtd: physmap_of.c: use mtd_device_parse_registerdrivers/mtd/maps/physmap_of.c+3 -150 replies
13/18mtd: m25p80.c: use mtd_device_parse_registerdrivers/mtd/devices/m25p80.c+3 -250 replies
14/18mtd: fsl_elbc_nand.c: use mtd_device_parse_registerdrivers/mtd/nand/fsl_elbc_nand.c+2 -60 replies
15/18mtd: fsl_upm.c: use mtd_device_parse_registerdrivers/mtd/nand/fsl_upm.c+1 -30 replies
16/18mtd: mpc5121_nfc.c: use mtd_device_parse_registerdrivers/mtd/nand/mpc5121_nfc.c+1 -100 replies
17/18mtd: ndfc.c: use mtd_device_parse_registerdrivers/mtd/nand/ndfc.c+1 -60 replies
18/18mtd: socrates_nand.c: use mtd_device_parse_registerdrivers/mtd/nand/socrates_nand.c+1 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 00/18] mtd: cleanup partition handling in OF-enabled drivers

Changes since V1:
* Tab-vs-space cleanup
* 80-column cleanup
* documented of_node parser data field
* changed documentation for parser_data arguments

The following changes since commit 6a146696fdcf383d90753145dfb367e499790940:

mtd: nand_base: always initialise oob_poi before writing OOB data (2011-06-22 08:50:28 +0300)

are available in the git repository at:
git://git.infradead.org/users/dbaryshkov/mtd-cleanup.git mtd-big-cleanup

Dmitry Eremin-Solenikov (18):
mtd: abstract last MTD partition parser argument
mtd: prepare to convert of_mtd_parse_partitions to partition parser
mtd: physmap_of: use ofpart through generic parsing
mtd: m25p80: use ofpart through generic parsing
mtd: fsl_elbc_nand: use ofpart through generic parsing
mtd: fsl_upm: use ofpart through generic parsing
mtd: mpc5121_nfc: use ofpart through generic parsing
mtd: ndfc: use ofpart through generic parsing
mtd: socrates_nand: use ofpart through generic parsing
mtd: drop of_mtd_parse_partitions()
mtd: physmap_of: move parse_obsolete_partitions to become separate parser
mtd: physmap_of.c: use mtd_device_parse_register
mtd: m25p80.c: use mtd_device_parse_register
mtd: fsl_elbc_nand.c: use mtd_device_parse_register
mtd: fsl_upm.c: use mtd_device_parse_register
mtd: mpc5121_nfc.c: use mtd_device_parse_register
mtd: ndfc.c: use mtd_device_parse_register
mtd: socrates_nand.c: use mtd_device_parse_register

 drivers/mtd/afs.c                |    4 +-
 drivers/mtd/ar7part.c            |    2 +-
 drivers/mtd/cmdlinepart.c        |    4 +-
 drivers/mtd/devices/m25p80.c     |   37 ++------------
 drivers/mtd/maps/physmap_of.c    |   80 +++--------------------------
 drivers/mtd/mtdcore.c            |    6 +-
 drivers/mtd/mtdpart.c            |   15 ++++--
 drivers/mtd/nand/fsl_elbc_nand.c |   18 ++-----
 drivers/mtd/nand/fsl_upm.c       |   13 +----
 drivers/mtd/nand/mpc5121_nfc.c   |   17 +-----
 drivers/mtd/nand/ndfc.c          |   16 +-----
 drivers/mtd/nand/socrates_nand.c |   23 +-------
 drivers/mtd/ofpart.c             |  104 ++++++++++++++++++++++++++++++++++++--
 drivers/mtd/redboot.c            |   13 ++---
 include/linux/mtd/mtd.h          |    3 +-
 include/linux/mtd/partitions.h   |   36 +++++++-------
 16 files changed, 172 insertions(+), 219 deletions(-)