hwmon: (w83781d) Use new style driver binding
authorWolfgang Grandegger <wg@grandegger.com>
Fri, 17 Oct 2008 15:51:19 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:19 +0000 (17:51 +0200)
commit0217eae3a825d551b99991bc30555c3daeb0a4df
treebe8ca795bacbb9aba2d8af19ac2211a93e5ff30e
parent360782dde00a2e6e7d9fd57535f90934707ab8a8
hwmon: (w83781d) Use new style driver binding

This patch modifies the w83781d driver to use new style driver binding.
Substantial code modifications are required to deal with the new
interface, especially legacy device detection.

[JD: largely edited to make the patch smaller and to get the driver
to work again on ISA devices.]

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83781d.c