diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-03-05 22:17:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-15 08:49:57 -0700 |
commit | dde60b40c56a0fa08a3aa6d6d9a8d19bf3249ca5 (patch) | |
tree | 35e4e80e843a91470ff583077089a44a14ff37a3 /drivers/sn | |
parent | bc6fb9e8ba0e5ec6641527b2cfdf170e332f6a5e (diff) | |
download | lwn-dde60b40c56a0fa08a3aa6d6d9a8d19bf3249ca5.tar.gz lwn-dde60b40c56a0fa08a3aa6d6d9a8d19bf3249ca5.zip |
hwmon: (tmp421) Restore missing inputs
commit 8d59582a867470a3e0c3eced4a01625ae8dc546b upstream.
An off-by-one error caused some inputs to not be created by the driver
when they should. TMP421 gets only one input instead of two, TMP422
gets two instead of three, etc. Fix the bug by listing explicitly the
number of inputs each device has.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Andre Prendel <andre.prendel@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions