All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Iles <jamie@jamieiles.com>
To: Artem Bityutskiy <dedekind1@gmail.com>
Cc: dwmw2@infradead.org, linux-mtd@lists.infradead.org
Subject: Re: [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS
Date: Thu, 19 May 2011 06:44:05 +0100	[thread overview]
Message-ID: <20110519054405.GB32183@pulham.picochip.com> (raw)
In-Reply-To: <20110516143710.GA5123@pulham.picochip.com>

On Mon, May 16, 2011 at 03:37:10PM +0100, Jamie Iles wrote:
> On Mon, May 16, 2011 at 04:04:20PM +0300, Artem Bityutskiy wrote:
> > On Thu, 2011-05-12 at 14:26 +0100, Jamie Iles wrote:
> > > 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, looks very good at the first glance, thanks a lot!
> 
> Great!  I'm travelling at the moment so can't complete the series, but 
> I'll aim to do the full series over the next few weeks and repost.  
> Thanks for taking the time to look at it.

Artem, with regards to submitting a series for this, how would you 
prefer it?  I imagined a few patches for the core MTD stuff then one per 
driver to remove the CONFIG_MTD_PARTITIONS preprocessor and convert to 
mtd_device_register().

There are other drivers that don't use CONFIG_MTD_PARTITIONS but use 
add_mtd_device()/add_mtd_partitions() etc so these just need a 
substitution for mtd_device_register().  Are these last ones OK as one 
patch or one per driver?

Jamie

  reply	other threads:[~2011-05-19  5:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 13:26 [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS Jamie Iles
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 [this message]
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=20110519054405.GB32183@pulham.picochip.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.