[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120221211151.GA1609@beef>
Date: Tue, 21 Feb 2012 16:11:51 -0500
From: Matt Porter <matt@...orter.com>
To: Tony Lindgren <tony@...mide.com>
Cc: Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Russell King - ARM Linux <linux@....linux.org.uk>,
Matt Porter <mporter@...com>,
Linux OMAP List <linux-omap@...r.kernel.org>,
linux-kernel@...r.kernel.org,
Linux ARM Kernel List <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] ARM: OMAP2+: gpmc-smsc911x: add required smsc911x
regulators
On Tue, Feb 21, 2012 at 10:46:48AM -0800, Tony Lindgren wrote:
> * Mark Brown <broonie@...nsource.wolfsonmicro.com> [120213 10:27]:
> > On Mon, Feb 13, 2012 at 10:14:10AM -0800, Tony Lindgren wrote:
> > > * Russell King - ARM Linux <linux@....linux.org.uk> [120213 09:31]:
> > > > On Mon, Feb 13, 2012 at 09:52:34AM -0800, Tony Lindgren wrote:
> >
> > > > > Can't we just leave out the .id and have it automatically assigned?
> >
> > It'd be nice but...
> >
> > > > Unfortunately, there's no such infrastructure in the driver model.
> >
> > > Hmm OK, -1 seems to be just used for name in platform_device_add().
> >
> > -1 is a valid ID also, it means "there's only one of these things so
> > don't display a number". Which is sad but there we are. I'm at ELC/ABS
> > so I might try and find Greg in person here to see if we can come up
> > with something better, it seems like this is something the core ought to
> > be able to help with in much the same way that the USB stuff can.
>
> Matt, care to refresh your original patch using some other number so
> we can apply it as a regression fix for the -rc series while the
> long term solution is being discussed?
>
> Just use some random number for now with a comment, 42?
Will do, I'll post an update with this approach.
-Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists