summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/nsa320-hwmon.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-04-02 08:23:45 -0700
committerGuenter Roeck <linux@roeck-us.net>2016-04-19 06:32:37 -0700
commit2310048db70a58ae89b37fded0322b6a5ae6443f (patch)
tree02fd5a6e4b618e7293bf7b90f2975537f49821fc /drivers/hwmon/nsa320-hwmon.c
parent48b2ae7fe9d0eba523a3633ff0f939aba9e962e2 (diff)
downloadlinux-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