hwmon: (lm87) Convert to a new-style i2c driver
authorJean Delvare <khali@linux-fr.org>
Wed, 16 Jul 2008 17:30:14 +0000 (19:30 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Wed, 16 Jul 2008 17:30:14 +0000 (19:30 +0200)
commita888420af07b9a26b6d518328baa913fb704e950
treeb8d88c4e6837c007752d034fdccd6c3bddf44afa
parentb6aacdcefac8ed60e77930b6e74129da6478e20e
hwmon: (lm87) Convert to a new-style i2c driver

The new-style lm87 driver implements the optional detect() callback
to cover the use cases of the legacy driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Ben Hutchings <bhutchings@solarflare.com>
drivers/hwmon/lm87.c