hwmon/w83781d: Be less i2c_client-centric
authorJean Delvare <khali@linux-fr.org>
Tue, 8 May 2007 15:22:03 +0000 (17:22 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 8 May 2007 15:22:03 +0000 (17:22 +0200)
commit31b8dc4d58b9905a77412c06fc0b22aa19c1cc1d
treea4379881908093200ad6d5c6a05df7a10be0b51f
parent474d00a8912f56241cec6e1832ce390e87bfb243
hwmon/w83781d: 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/w83781d.c