]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfdbc04125314adf477c2f42661e871e0d64a3d7c
treea4379881908093200ad6d5c6a05df7a10be0b51f
parent3f2bf9be637fdb57787869a367288a40dd41f9c5
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