Re: device model documentation 1/3

From: Greg KH (greg@kroah.com)
Date: Tue Jun 04 2002 - 11:53:45 EST


On Tue, Jun 04, 2002 at 05:45:31PM +0200, Martin Dalecki wrote:
> Patrick Mochel wrote:
>
> >Bus Types
> >
> >struct bus_type {
>
> ...
>
>
> > int (*bind) (struct device * dev, struct device_driver *
> > drv);
> >};
> >
>
> Please - Why do you call it bind? Does it have something with
> netowrking to do? Please just name it attach. This way the old UNIX
> guys among us won't have to drag a too big
> "UNIX to Linux translation dictionary" around with them.
> As an "added bonus" you will stay consistent with -
>
> USB code base in kernel

Huh? The usb code base doesn't use either "bind" or "attach" in it's
api.

And who cares? You knew what he ment by this, and it's a pretty
standard term.

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



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:21 EST