Re: w83781d i2c driver updated for 2.5.66 (without sysfs support)

Christoph Hellwig
2003-03-26T20:32:42Z

On Wed, Mar 26, 2003 at 12:26:23PM -0800, Greg KH wrote:
> We should really split these multivalue files up into individual files,
> as sysfs is for single value files. Makes parsing easier too.
>
> Here's a patch for the lm75.c driver that does this. As we are going to
> need a "generic" read and write for the "real" values that the i2c
> drivers use, I added these files to the i2c-proc.c file.

i2c-proc.c is the wrong place. Please add a i2c-sensor.c file with
helper code for hardware sensors driver (i2c_detect should move over to
there from i2c-proc.c aswell)