]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] I2C: Separate non-i2c hwmon drivers from i2c-core (5/9)
authorJean Delvare <khali@linux-fr.org>
Tue, 19 Jul 2005 21:56:35 +0000 (23:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:14:10 +0000 (09:14 -0700)
commitf2736972dd11d294a046934994730c2488d216fb
treef01f038198bad63fee4c7d23af806ad0ab4e5071
parentbccd7c562ab6d75158496d7ac710cf8a110dd49b
[PATCH] I2C: Separate non-i2c hwmon drivers from i2c-core (5/9)

Call the ISA chip drivers detection function directly instead of relying
on i2c_detect. The net effect is that address lists won't be handled
anymore, but they were mostly useless in the ISA case anyway (pc87360,
smsc47m1, smsc47b397 had already dropped them).

We don't need to handle multiple devices, all we may need is a way to
force a given address instead of the original one (some drivers already
do: sis5595, via686a, w83627hf), and, for drivers supporting multiple
chips, a way to force one given kind. All this may be added later on
demand, but I actually don't think there will be much demand.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/it87.c
drivers/hwmon/lm78.c
drivers/hwmon/pc87360.c
drivers/hwmon/sis5595.c
drivers/hwmon/smsc47b397.c
drivers/hwmon/smsc47m1.c
drivers/hwmon/via686a.c
drivers/hwmon/w83627ehf.c
drivers/hwmon/w83627hf.c
drivers/hwmon/w83781d.c