]> git.hungrycats.org Git - linux/commit
[PATCH] I2C: lm75 chip driver conversion routine fixes
authorMark M. Hoffman <mhoffman@lightlink.com>
Wed, 17 Dec 2003 08:06:50 +0000 (00:06 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 17 Dec 2003 08:06:50 +0000 (00:06 -0800)
commit8e21f6b0edf30ec615094fd9942701035ea9921b
treeba27dac212533513bf0d56e93f2e8892de953a5c
parentdcf4f5fbc64c94c28ffcd701c7f004d5c21909c9
[PATCH] I2C: lm75 chip driver conversion routine fixes

This patch is based on the lm_sensors project CVS, from revisions 1.45 and 1.1
of lm75.c and lm75.h, respectively.

The patch fixes the conversion routines (according to datasheet) and moves
them into a header file - as these conversions can be used by several drivers
which emulate LM75s as subclients.  Also, temps are now reported in 1/1000 C
in sysfs as per documentation.
drivers/i2c/chips/lm75.c
drivers/i2c/chips/lm75.h [new file with mode: 0644]