hwmon: (adm9240) 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)
commit7fae8283109e155467bc1c622178d3a475cdbddf
tree33dff61df2158ecd80842a14386c7b225e4ae1b1
parentaf200f881d2cbf3ba2f4c505fa1ae5cfef36f46a
hwmon: (adm9240) Convert to a new-style i2c driver

The new-style adm9240 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: Grant Coady <gcoady.lk@gmail.com>
drivers/hwmon/adm9240.c