summaryrefslogtreecommitdiff
path: root/drivers/hwmon/abituguru.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 22:31:45 +0400
committerJean Delvare <khali@endymion.delvare>2010-10-28 22:31:45 +0400
commit87df0dad3e024538d2d0d2ce786230e639c2ea8b (patch)
tree60b5be6938e3050ce7a117a26aa407f6315d3d0c /drivers/hwmon/abituguru.c
parent6f3dcde9c6dcbbe781a2a98900552bcb989733e3 (diff)
downloadlinux-87df0dad3e024538d2d0d2ce786230e639c2ea8b.tar.xz
hwmon: (w83795) Use 2D arrays for many device attributes
Use 2D arrays for in, fan, temp and dts device attributes. Using linear arrays is too risky as we have to skip some groups depending on the device model and configuration. Adding or removing an attribute would let the driver build silently but then it would crash at runtime. With 2D arrays, the consistency checking happens at build time, which is much safer. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/abituguru.c')
0 files changed, 0 insertions, 0 deletions