diff options
author | Krzysztof Adamski <krzysztof.adamski@nokia.com> | 2021-09-24 11:39:06 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-10-12 16:22:40 +0200 |
commit | cae0233946c316884e4c40925c7d69b9221c02f9 (patch) | |
tree | 400bd3e54b7453e3ca68d17bf05c0252c20124a2 /net/ncsi | |
parent | dt-bindings: hwmon: jedec,jc42: convert to dtschema (diff) | |
download | linux-cae0233946c316884e4c40925c7d69b9221c02f9.tar.xz linux-cae0233946c316884e4c40925c7d69b9221c02f9.zip |
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 'net/ncsi')
0 files changed, 0 insertions, 0 deletions