summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKrzysztof Adamski <krzysztof.adamski@nokia.com>2021-09-24 11:39:06 +0200
committerGuenter Roeck <linux@roeck-us.net>2021-10-12 07:22:40 -0700
commitcae0233946c316884e4c40925c7d69b9221c02f9 (patch)
tree400bd3e54b7453e3ca68d17bf05c0252c20124a2 /tools/perf/scripts/python
parent0a4157196a5da25b28aa6840bcac553c925e5013 (diff)
hwmon: (tmp421) introduce MAX_CHANNELS define
There are few places where the maximal number of channels is used define the size of arrays but when raw number is used it is not clear that they really related to this quantity. This commit introduces MAX_CHANNELS define and uses it those places to give some context to the number. Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com> Link: https://lore.kernel.org/r/abc1a213a25b890b799b35ad94bb543a2ade7fc8.1632473318.git.krzysztof.adamski@nokia.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions