aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/tmp401.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-03-05 22:17:25 +0100
committerJean Delvare <khali@linux-fr.org>2010-03-05 22:17:25 +0100
commit8d59582a867470a3e0c3eced4a01625ae8dc546b (patch)
tree6f35acf842f80e3a18cdd6d644b181d4ce43f380 /drivers/hwmon/tmp401.c
parentd58de038728221f780e11d50b32aa40d420c1150 (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/tmp401.c')
0 files changed, 0 insertions, 0 deletions