diff options
author | Biju Das <[email protected]> | 2023-08-24 21:44:54 +0100 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-08-25 07:43:10 -0700 |
commit | d103337e38e7e64c3d915029e947b1cb0b512737 (patch) | |
tree | f0cf1398c929e33989bd6e148871c6e0d2c1792e /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | dadca53dd948f70dbfd9af90aff72ebd27d3fc53 (diff) |
hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
The supported channels for this driver are {0..3}. Fix the incorrect
channel in tmp51x_is_visible().
Reported-by: Guenter Roeck <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: 59dfa75e5d82 ("hwmon: Add driver for Texas Instruments TMP512/513 sensor chips.")
Signed-off-by: Biju Das <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions