Re: [RFC patch 2/3] remove pci_driver.owner and .name fields

From: Al Viro
Date: Wed Oct 26 2005 - 16:21:30 EST


On Wed, Oct 26, 2005 at 02:05:08PM -0700, Roland Dreier wrote:
> > - .name = "DAC960",
> > + .driver = {
> > + .name = "DAC960",
> > + },
>
> This change looks like a (rather ugly) step backwards. Maybe it would
> be better to add the name as a parameter to pci_register_driver?

It looks stupid in the first place - what's wrong with
.driver.name = "DAC960",
instead of that mess?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/