hwmon: (lm87) Add support for configuration through platform_data
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 17 Oct 2008 15:51:12 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:12 +0000 (17:51 +0200)
commit47064d645bc55863c7887a7c96cde39c9a37ee5f
tree812e5badc94040e6001d3ca76bce97a3906caa60
parentd2cac802feae6f0c246a9251eefc482bf5ec0f0f
hwmon: (lm87) Add support for configuration through platform_data

The lm87 driver normally assumes that firmware configured the chip
correctly.  Since this is not always the case, alllow platform code to
set the channel register value via platform_data.  All other
configuration registers can be changed after driver initialisation.

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