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

From: Paul Mundt
Date: Fri Mar 25 2005 - 13:03:10 EST


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? 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.

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.

(And yes, I should have brought this up when the patch was posted, but I
didn't see it until _after_ being bit by this change).

Attachment: pgp00000.pgp
Description: PGP signature