]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb90c3ca1b5ce8be05be08787b87363aad6bd94b8
tree812e5badc94040e6001d3ca76bce97a3906caa60
parent7fb2d3c3c9ea496f6af615e0665e5a5b0eb28630
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