From: Kumar Gala <galak@kernel.crashing.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linuxppc-dev@ozlabs.org, Li Yang <leoli@freescale.com>,
Paul <paulus@samba.org>
Subject: Re: [PATCH 2/3] add soc setup code for USB DR OTG mode
Date: Tue, 6 Feb 2007 08:23:19 -0600 [thread overview]
Message-ID: <C9D8CBA2-7ED6-4433-BE70-966BDC94FA13@kernel.crashing.org> (raw)
In-Reply-To: <200702061407.24843.arnd@arndb.de>
On Feb 6, 2007, at 7:07 AM, Arnd Bergmann wrote:
> On Monday 05 February 2007 16:15, Kumar Gala wrote:
>>> + usb_data.operating_mode = FSL_USB2_DR_HOST;
>>> + usb_dev_dr_host =
>>> platform_device_register_simple(
>>> + "fsl-ehci", i, r, 2);
>>> + if (IS_ERR(usb_dev_dr_host)) {
>>> + ret = PTR_ERR(usb_dev_dr_host);
>>> + goto err;
>
> I just saw that this file has a number of calls to
> platform_device_register_simple() for devices that come from the OF
> device tree.
>
> Can this be converted to use of_register_platform_driver() and
> of_platform_device_probe() instead?
This is an ongoing issue and will help once arch/ppc consumers of
these drivers go away. Until then we will continue to use
platform_devices.
- k
prev parent reply other threads:[~2007-02-06 14:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-05 9:10 [PATCH 2/3] add soc setup code for USB DR OTG mode Li Yang
2007-02-05 15:15 ` Kumar Gala
2007-02-06 3:25 ` Li Yang-r58472
2007-02-06 13:07 ` Arnd Bergmann
2007-02-06 14:23 ` Kumar Gala [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=C9D8CBA2-7ED6-4433-BE70-966BDC94FA13@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=arnd@arndb.de \
--cc=leoli@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).