Re: [linux-usb-devel] Re: [RFC] Changes to the driver model class code.

From: Dominik Brodowski
Date: Tue Mar 15 2005 - 16:25:37 EST


On Tue, Mar 15, 2005 at 01:14:40PM -0800, David Brownell wrote:
> That pre-driver model stuff went away in maybe 2.6.5 or so, I
> forget just when. If you think those changes can easily be
> reversed, I suggest you think again ... they enabled a LOT of
> likewise-overdue cleanups.
...
> converting to the driver model has been a win at every step
> of the way. It's gone both ways; the driver core has changed
> to work better with USB too.

Exactly my point: the driver code forces/encourages you to write better
code. With proper reference counting. And reverting this by making
"class_simple" default, and possibly doing a similar transition for struct
device and struct device_driver means that we lose this encouragement. and
we lose this win-win situation.

Thanks,
Dominik
-
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/