commit | 47064d645bc55863c7887a7c96cde39c9a37ee5f | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Fri Oct 17 17:51:12 2008 +0200 |
committer | Jean Delvare <khali@mahadeva.delvare> | Fri Oct 17 17:51:12 2008 +0200 |
tree | 812e5badc94040e6001d3ca76bce97a3906caa60 | |
parent | d2cac802feae6f0c246a9251eefc482bf5ec0f0f [diff] |
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>