hwmon/lm78: Be less i2c_client-centric
authorJean Delvare <khali@linux-fr.org>
Tue, 8 May 2007 15:22:01 +0000 (17:22 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 8 May 2007 15:22:01 +0000 (17:22 +0200)
commitc59cc301ee4589b096d2364af7cf91a2e46b5b1d
tree76ecd9ea3a5a6f13427526df06e1ef71f97981e3
parentc40769fee13c1ab43e1fb10320d6fbc29f582d8e
hwmon/lm78: Be less i2c_client-centric

Use the driver data structure as the main device reference, instead of
the i2c client. It makes the driver a bit smaller, and makes more sense
as this is an hybrid driver, supporting both I2C and ISA devices.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm78.c