hwmon: (adm1031) Convert to a new-style i2c driver
authorJean Delvare <khali@linux-fr.org>
Wed, 16 Jul 2008 17:30:09 +0000 (19:30 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Wed, 16 Jul 2008 17:30:09 +0000 (19:30 +0200)
commitaf200f881d2cbf3ba2f4c505fa1ae5cfef36f46a
treeb8d893b082d81ebcee798d0a2e1cc5436c1461a4
parent9c97fb4d255fbf6713ee2d77dd8ed8ae770a7e49
hwmon: (adm1031) Convert to a new-style i2c driver

The new-style adm1031 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: Alexandre d'Alton <alex@alexdalton.org>
drivers/hwmon/adm1031.c