From: David Brownell <david-b@pacbell.net>
To: Magnus Damm <magnus.damm@gmail.com>
Cc: spi-devel-general@lists.sourceforge.net, lethal@linux-sh.org,
linux-sh@vger.kernel.org
Subject: Re: [PATCH] spi: add support for SPI over SuperH SCI pins
Date: Tue, 22 Jan 2008 04:38:48 +0000 [thread overview]
Message-ID: <200801212038.48423.david-b@pacbell.net> (raw)
In-Reply-To: <aec7e5c30801211956p285de9a6gfb8debafbb876c37@mail.gmail.com>
On Monday 21 January 2008, Magnus Damm wrote:
> On Jan 22, 2008 7:29 AM, David Brownell <david-b@pacbell.net> wrote:
> >
> > You should consider adding yourself to MAINTAINERS for
> > this driver...
>
> Yes. If it's ok with you then i'll send a separate patch for that. I
> should probably add more than one entry there.
Fine by me.
> > > + /* register the chips to go with the board */
> > > +
> > > + for (i = 0; i < sp->info->board_size; i++) {
> > > + dev_info(&dev->dev, "registering %p: %s\n",
> > > + &sp->info->board_info[i],
> > > + sp->info->board_info[i].modalias);
> > > +
> > > + sp->info->board_info[i].controller_data = sp;
> > > + spi_new_device(master, sp->info->board_info + i);
> >
> > NO -- this doesn't belong here at all. Such registration is handled
> > by the SPI core code, according to what the board init code told it.
>
> Hehe. My gut reaction was the same when i read the s3c24xx drivers,
Gaak. How did those get in with such crap?
Aaaah, I see ... I never signed off on their original merge. Hmm.
> but then I decided to follow their style. I'll remove that part then
> and instead register the spi devices from the board code using
> spi_register_board_info().
>
> I'll fix up the code and repost in a bit. Thanks for your review!
Sure.
- Dave
WARNING: multiple messages have this Message-ID (diff)
From: David Brownell <david-b@pacbell.net>
To: "Magnus Damm" <magnus.damm@gmail.com>
Cc: spi-devel-general@lists.sourceforge.net, lethal@linux-sh.org,
linux-sh@vger.kernel.org
Subject: Re: [PATCH] spi: add support for SPI over SuperH SCI pins
Date: Mon, 21 Jan 2008 20:38:48 -0800 [thread overview]
Message-ID: <200801212038.48423.david-b@pacbell.net> (raw)
In-Reply-To: <aec7e5c30801211956p285de9a6gfb8debafbb876c37@mail.gmail.com>
On Monday 21 January 2008, Magnus Damm wrote:
> On Jan 22, 2008 7:29 AM, David Brownell <david-b@pacbell.net> wrote:
> >
> > You should consider adding yourself to MAINTAINERS for
> > this driver...
>
> Yes. If it's ok with you then i'll send a separate patch for that. I
> should probably add more than one entry there.
Fine by me.
> > > + /* register the chips to go with the board */
> > > +
> > > + for (i = 0; i < sp->info->board_size; i++) {
> > > + dev_info(&dev->dev, "registering %p: %s\n",
> > > + &sp->info->board_info[i],
> > > + sp->info->board_info[i].modalias);
> > > +
> > > + sp->info->board_info[i].controller_data = sp;
> > > + spi_new_device(master, sp->info->board_info + i);
> >
> > NO -- this doesn't belong here at all. Such registration is handled
> > by the SPI core code, according to what the board init code told it.
>
> Hehe. My gut reaction was the same when i read the s3c24xx drivers,
Gaak. How did those get in with such crap?
Aaaah, I see ... I never signed off on their original merge. Hmm.
> but then I decided to follow their style. I'll remove that part then
> and instead register the spi devices from the board code using
> spi_register_board_info().
>
> I'll fix up the code and repost in a bit. Thanks for your review!
Sure.
- Dave
next prev parent reply other threads:[~2008-01-22 4:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 10:49 [PATCH] spi: add support for SPI over SuperH SCI pins Magnus Damm
2008-01-21 10:49 ` Magnus Damm
[not found] ` <20080121104913.11908.50319.sendpatchset-oNevn9JCO/nrQWrVbqIkupgxem/jg0Vn@public.gmane.org>
2008-01-21 22:29 ` David Brownell
2008-01-21 22:29 ` David Brownell
[not found] ` <200801211429.29906.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2008-01-22 3:11 ` Paul Mundt
2008-01-22 3:11 ` Paul Mundt
[not found] ` <20080122031114.GA2062-M7jkjyW5wf5g9hUCZPvPmw@public.gmane.org>
2008-01-22 4:22 ` David Brownell
2008-01-22 4:22 ` David Brownell
[not found] ` <200801212022.23139.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2008-01-22 5:26 ` [spi-devel-general] " David Brownell
2008-01-22 5:26 ` David Brownell
2008-01-22 6:03 ` Paul Mundt
2008-01-22 6:03 ` Paul Mundt
2008-01-22 3:56 ` Magnus Damm
2008-01-22 3:56 ` Magnus Damm
2008-01-22 4:38 ` David Brownell [this message]
2008-01-22 4:38 ` David Brownell
2008-01-23 4:14 ` [PATCH] spi: add support for SPI over SuperH SCI pins V2 Magnus Damm
2008-01-23 4:14 ` Magnus Damm
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=200801212038.48423.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=spi-devel-general@lists.sourceforge.net \
/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.