From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Thu, 17 Nov 2005 19:27:38 +0000 Subject: [lm-sensors] [RFC] adding back i2c_get_clients Message-Id: <20051117181131.GA7721@kroah.com> List-Id: References: <20051117003330.21bfff26@inspiron> In-Reply-To: <20051117003330.21bfff26@inspiron> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On Thu, Nov 17, 2005 at 07:23:12PM +0100, Alessandro Zummo wrote: > On Thu, 17 Nov 2005 08:34:46 -0800 > Greg KH 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