diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-04-02 08:23:45 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-04-19 06:32:37 -0700 |
commit | 2310048db70a58ae89b37fded0322b6a5ae6443f (patch) | |
tree | 02fd5a6e4b618e7293bf7b90f2975537f49821fc /drivers/hwmon/nsa320-hwmon.c | |
parent | 48b2ae7fe9d0eba523a3633ff0f939aba9e962e2 (diff) | |
download | linux-stable-2310048db70a58ae89b37fded0322b6a5ae6443f.tar.gz linux-stable-2310048db70a58ae89b37fded0322b6a5ae6443f.tar.bz2 linux-stable-2310048db70a58ae89b37fded0322b6a5ae6443f.zip |
hwmon: (it87) Use defines for array sizes and sensor counts
Using array size defines makes it much easier to find errors
in index values and loop counts.
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/nsa320-hwmon.c')
0 files changed, 0 insertions, 0 deletions