Skip to content
Snippets Groups Projects
user avatar
Jean Delvare authored
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: default avatarJean Delvare <khali@linux-fr.org>
87df0dad
History
Name Last commit Last update