public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: David Brownell <david-b@pacbell.net>, Greg KH <gregkh@suse.de>,
	Linux Kernel list <linux-kernel@vger.kernel.org>,
	Andres Salomon <dilinger@debian.org>
Subject: Re: [patch 2.6.21-rc5-git 2/2] update Documentation/driver-model/platform.txt
Date: Mon, 2 Apr 2007 22:59:00 +0100	[thread overview]
Message-ID: <20070402215900.GA22728@flint.arm.linux.org.uk> (raw)
In-Reply-To: <d120d5000704021316o7e30d51ej3f4a749ce5a49b5a@mail.gmail.com>

On Mon, Apr 02, 2007 at 04:16:03PM -0400, Dmitry Torokhov wrote:
> On 3/31/07, David Brownell <david-b@pacbell.net> wrote:
> >+A better solution is usually:
> >+
> >+       struct platform_device *platform_device_register_simple(
> >+                       char *name, unsigned id,
> >+                       struct resource *res, unsigned nres);
> >+
> >+You can use platform_device_register_simple() as a one-step call to 
> >allocate
> >+and register a device.
> 
> DIdn't Russell want to convert eberything to platform_device_alloc and
> then nuke platfrom_device_register_simple()?

That was my long term plan - since I don't like APIs which "grow" lots
of different and redundant interfaces.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

      reply	other threads:[~2007-04-02 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-31 21:58 [patch 2.6.21-rc5-git 2/2] update Documentation/driver-model/platform.txt David Brownell
2007-04-02 20:16 ` Dmitry Torokhov
2007-04-02 21:59   ` Russell King [this message]

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=20070402215900.GA22728@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=david-b@pacbell.net \
    --cc=dilinger@debian.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox