From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: "David Brownell" <david-b@pacbell.net>
Cc: "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 16:16:03 -0400 [thread overview]
Message-ID: <d120d5000704021316o7e30d51ej3f4a749ce5a49b5a@mail.gmail.com> (raw)
In-Reply-To: <200703311458.43800.david-b@pacbell.net>
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()?
--
Dmitry
next prev parent reply other threads:[~2007-04-02 20:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-31 21:58 David Brownell
2007-04-02 20:16 ` Dmitry Torokhov [this message]
2007-04-02 21:59 ` Russell King
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=d120d5000704021316o7e30d51ej3f4a749ce5a49b5a@mail.gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=david-b@pacbell.net \
--cc=dilinger@debian.org \
--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
Powered by JetHome