All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Iles <jamie@jamieiles.com>
To: linux-mtd@lists.infradead.org
Cc: Jamie Iles <jamie@jamieiles.com>,
	dwmw2@infradead.org, dedekind1@gmail.com
Subject: [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS
Date: Thu, 12 May 2011 14:26:51 +0100	[thread overview]
Message-ID: <1305206818-31752-1-git-send-email-jamie@jamieiles.com> (raw)

This patch series is an RFC for the removal of CONFIG_MTD_PARTITIONS.
Partitioning is still supported, but is always compiled in if CONFIG_MTD is
selected.  To transition, two new symbols are introduced -
mtd_device_{,un}register() that replace add_mtd_device(), add_mtd_partitions()
and their counterparts.  The series converts a number of drivers over to use
these new interfaces and the final patch removes the old symbols.

Note that this patch does not transition all of the drivers so is incomplete
(and not signed off!).  If this approach is suitable then I'll convert all of
the other drivers over.

Jamie Iles (7):
  mtd: always build partitioning support
  mtd: introduce mtd_device_(un)register()
  mtd/physmap: convert to mtd_device_register()
  mtd/nand: convert to mtd_device_unregister()
  nand/gpio: convert to mtd_device_register()
  mtd/plat_nand: convert to mtd_device_register()
  mtd: remove add_mtd_partitions, add_mtd_device and friends

 drivers/mtd/Kconfig            |   18 +-----------------
 drivers/mtd/Makefile           |    3 +--
 drivers/mtd/maps/physmap.c     |   31 +++++--------------------------
 drivers/mtd/mtdcore.c          |   30 +++++++++++++++++++++++++++---
 drivers/mtd/mtdcore.h          |    6 ++++++
 drivers/mtd/mtdpart.c          |    4 ++--
 drivers/mtd/nand/gpio.c        |    5 ++---
 drivers/mtd/nand/nand_base.c   |    7 +------
 drivers/mtd/nand/plat_nand.c   |   14 +++-----------
 include/linux/mtd/mtd.h        |   15 +++++----------
 include/linux/mtd/partitions.h |   11 +----------
 include/linux/mtd/physmap.h    |    4 ----
 12 files changed, 54 insertions(+), 94 deletions(-)

-- 
1.7.4.4

             reply	other threads:[~2011-05-12 13:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 13:26 Jamie Iles [this message]
2011-05-12 13:26 ` [RFC PATCH 1/7] mtd: always build partitioning support Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 2/7] mtd: introduce mtd_device_(un)register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 3/7] mtd/physmap: convert to mtd_device_register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 4/7] mtd/nand: convert to mtd_device_unregister() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 5/7] nand/gpio: convert to mtd_device_register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 6/7] mtd/plat_nand: " Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 7/7] mtd: remove add_mtd_partitions, add_mtd_device and friends Jamie Iles
2011-05-16 13:04 ` [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS Artem Bityutskiy
2011-05-16 14:37   ` Jamie Iles
2011-05-19  5:44     ` Jamie Iles
2011-05-20  5:50       ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1305206818-31752-1-git-send-email-jamie@jamieiles.com \
    --to=jamie@jamieiles.com \
    --cc=dedekind1@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.