[lm-sensors] [RFC] adding back i2c_get_clients

Greg KH greg at kroah.com
Thu Nov 17 19:11:31 CET 2005


On Thu, Nov 17, 2005 at 07:23:12PM +0100, Alessandro Zummo wrote:
> On Thu, 17 Nov 2005 08:34:46 -0800
> Greg KH <greg at kroah.com> wrote:
> 
> > Good, exporting functions is the proper way to do things like this.
> > Like Jean showed, a simple set of function pointers is the correct way.
> > We want type-safe checking and explicit interfaces like this.  Not
> > wide-open, unchecked, and possibly unsafe interfaces like ioctls.
> > 
> > That's why I, and the other kernel developers are trying to prevent any
> > future ioctls being added.
> 
>  Ok, I'll work in that direction. Should I thus consider
>  i2c_driver->command to be deprecated?

Yes.

thanks,

greg k-h




More information about the lm-sensors mailing list