]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hwmon: (dme1737) Convert to a new-style i2c driver
authorJean Delvare <khali@linux-fr.org>
Tue, 14 Oct 2008 15:30:04 +0000 (17:30 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Tue, 14 Oct 2008 15:30:04 +0000 (17:30 +0200)
commit67a37308ae37f8948d3c26f75a18f0ddb77ac198
tree04c7145e4494f21725741e4a284e560731ffe091
parentdbc2bc251e06c83efcc8d39f1e7de12c2b1ff591
hwmon: (dme1737) Convert to a new-style i2c driver

The new-style dme1737 driver implements the optional detect() callback
to cover the use cases of the legacy driver. I don't actually expect
any new-style device for that driver, but as the old i2c API is going
away soon, we have to switch to the new one.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Juerg Haefliger <juergh@gmail.com>
drivers/hwmon/dme1737.c