]> git.hungrycats.org Git - linux/commit
[PATCH] I2C: Spare 1 byte in lm90 driver
authorJean Delvare <khali@linux-fr.org>
Tue, 19 Oct 2004 08:14:51 +0000 (01:14 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 19 Oct 2004 08:14:51 +0000 (01:14 -0700)
commit68fec4c06d35eed42ef171710b1b84532aa8e731
treede607197280085748f6d7604c9a2b5869ca20111
parentdc9f9ccd3667245c564a53d872f26321477b9296
[PATCH] I2C: Spare 1 byte in lm90 driver

I just noticed the other day that the lm90 driver uses an u16 to store
the value of the 8-bit alarms register. This is most probably due to the
fact that I originally copied the lm90 driver from the lm83 driver,
which actually has two 8-bit registers for alarms, and obviously forgot
to change the variable type.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/i2c/chips/lm90.c