[PATCH] More i2c driver changes for 2.5.66

Greg KH greg at kroah.com
Thu Apr 3 18:37:57 CEST 2003

On Thu, Apr 03, 2003 at 08:06:06AM -0500, Albert Cranford wrote:
> Your right, nobody outside of sensors uses i2c-proc, but
> why not create a new i2c-sysfs.h in drivers/i2c locally
> and and adjust the couple of existing drivers.

What would i2c-sysfs.h be needed for?  All of the needed sysfs prototype
functions are already in device.h.

> We all know the application library is not going to have
> access to include/linux/include/i2c-xxxx.h anyhow.

It never did :)

> Later we can completely remove linux/include/linux/i2c-proc.h
> which the existing application library relies upon.

No userspace program should rely on kernel header files.
And I didn't take away the functionality that i2c-proc.h provided with
the list of devices supported and such.  Just the unused function
prototypes that dealt with the proc and sysctl interface.


greg k-h

More information about the lm-sensors mailing list