hwmon: (tmp421) Restore missing inputs
commit 8d59582a 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>
Showing
Please register or sign in to comment