Re: [PATCH] driver core: Separate platform device name from platform device number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 25, 2005 at 08:01:36PM +0200, Paul Mundt wrote:
> On Wed, Mar 09, 2005 at 04:34:39PM -0800, Greg KH wrote:
> > [PATCH] driver core: Separate platform device name from platform device number
> > 
> > Separate platform device name from platform device number such that
> > names ending with numbers aren't confusing.
> > 
> This might make sense for devices that end in numbers, but does it really
> make sense for devices that don't?

Then fix those drivers to not put the number in there if they don't have
one :)

> I don't really see how having something like randomfb.0 is intuitive,
> this may make sense for things like serial8250 where another 0 would
> be misleading without some form of delimiter, but those are the corner
> cases and should be treated as such.

I don't see the serial8250 driver adding that .0 to it on my machines,
does this happen on yours?

> It's a bit irritating to have to constantly update userspace code that is
> acting under the false pretense that there is some sort of consistent
> naming scheme in place that won't change every time some new corner case
> crops up.

What userspace code are you referring to?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux