]> git.neil.brown.name Git - history.git/commit
[PATCH] I2C: Bring lm75 and lm78 in compliance with sysfs naming conventions
authorJean Delvare <khali@linux-fr.org>
Tue, 27 Jan 2004 06:38:29 +0000 (22:38 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 27 Jan 2004 06:38:29 +0000 (22:38 -0800)
commit66a38d0a35d2e37cf0ef98fd66bec1e151db769b
treedf435cc1e18acf05d60e92a152200b6b736380aa
parenta900ea5e63800bf167b212b5901130dff6dd6093
[PATCH] I2C: Bring lm75 and lm78 in compliance with sysfs naming conventions

Here is a patch that brings the lm75 and lm78 drivers in compliance with
sysfs naming conventions. The drivers as found in existing 2.6 kernels
do not have a digit appended to the temperature-related files names as
the sysfs naming conversion recommends (obviously because they each have
a single temperature channel). As a result, libsensors won't find the
files.

It was discussed on the list wether a '1' should be appended in this
case, and our conclusion was that it would be better to do so because it
helps automatic processing of the sysfs exported files. Please apply if
you agree with this.
drivers/i2c/chips/lm75.c
drivers/i2c/chips/lm78.c