linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: David Brownell <david-b@pacbell.net>
Cc: linuxppc-dev@ozlabs.org, Stefan Roese <sr@denx.de>,
	spi-devel-general@lists.sourceforge.net
Subject: Re: [PATCH v5] spi: Add PPC4xx SPI driver
Date: Sun, 28 Dec 2008 08:36:55 +1100	[thread overview]
Message-ID: <20081228083655.0a59d6de.sfr@canb.auug.org.au> (raw)
In-Reply-To: <200812271132.25468.david-b@pacbell.net>

[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]

Hi David, Stefan,

On Sat, 27 Dec 2008 11:32:25 -0800 David Brownell <david-b@pacbell.net> wrote:
>
> Also:
> 
> > +static struct of_platform_driver spi_ppc4xx_of_driver = {
> > +       .owner = THIS_MODULE,
> > +       .name = DRIVER_NAME,
> 
> I'd hope the PPC folk eliminate this duplication soonish.
> Those fields are obvious duplicates of the driver model
> fields...

We are on the path (have been for some time).  Only the driver model
versions should be filled in for new drivers.  For old drivers we copy
the values into the driver model fields if they are not already set.  We
intend to remove the of_platform_drivers versions of "name" and "owner"
soon.

> > +       .match_table = spi_ppc4xx_of_match,
> > +       .probe = spi_ppc4xx_of_probe,
> > +       .remove = __exit_p(spi_ppc4xx_of_remove),
> > +       .driver = {
> > +               .name = DRIVER_NAME,
> > +               .owner = THIS_MODULE,
> > +       },
> > +};
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-12-27 21:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 15:48 [PATCH v5] spi: Add PPC4xx SPI driver Stefan Roese
2008-12-09 21:48 ` Steven A. Falco
2008-12-09 22:14   ` Steven A. Falco
2008-12-27 19:30 ` David Brownell
2009-01-05 18:12   ` Stefan Roese
2009-01-05 19:31     ` Wolfgang Denk
2009-01-06  8:26       ` Stefan Roese
2008-12-27 19:32 ` David Brownell
2008-12-27 21:36   ` Stephen Rothwell [this message]
2009-01-06  2:06 ` [spi-devel-general] " Anton Vorontsov
2009-01-06  8:14   ` Stefan Roese

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=20081228083655.0a59d6de.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=david-b@pacbell.net \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=spi-devel-general@lists.sourceforge.net \
    --cc=sr@denx.de \
    /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).