diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-03-05 16:17:25 -0500 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-03-05 16:17:25 -0500 |
commit | 8d59582a867470a3e0c3eced4a01625ae8dc546b (patch) | |
tree | 6f35acf842f80e3a18cdd6d644b181d4ce43f380 /drivers/hwmon/lm78.c | |
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
Diffstat (limited to 'drivers/hwmon/lm78.c')
0 files changed, 0 insertions, 0 deletions