hwmon: (adt7470) Convert to a new-style i2c driver
authorJean Delvare <khali@linux-fr.org>
Wed, 16 Jul 2008 17:30:10 +0000 (19:30 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Wed, 16 Jul 2008 17:30:10 +0000 (19:30 +0200)
commit008f1ca51e4a25ee3e34b8faa901dbeefaf0081a
tree9f926c488788902e0522fc0916b66c73fb6754b3
parent7347cb388e5aecffc4920bd5ea6a61e4a4690bae
hwmon: (adt7470) Convert to a new-style i2c driver

The new-style adt7470 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: Darrick J. Wong <djwong@us.ibm.com>
drivers/hwmon/adt7470.c