]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (it87) Use defines for array sizes and sensor counts
authorGuenter Roeck <linux@roeck-us.net>
Thu, 2 Apr 2015 15:23:45 +0000 (08:23 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:37 +0000 (06:32 -0700)
commit63a3528b430e90e5632c9c0c4999ab2a7a061e8c
tree02fd5a6e4b618e7293bf7b90f2975537f49821fc
parentd60e4006a9058f58fb866b62416a5c1b6f345f75
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>
drivers/hwmon/it87.c