commit | 8d59582a867470a3e0c3eced4a01625ae8dc546b | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Fri Mar 05 22:17:25 2010 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Fri Mar 05 22:17:25 2010 +0100 |
tree | 6f35acf842f80e3a18cdd6d644b181d4ce43f380 | |
parent | d58de038728221f780e11d50b32aa40d420c1150 [diff] |
hwmon: (tmp421) Restore missing inputs 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> Cc: stable@kernel.org