• Guenter Roeck's avatar
    hwmon: (tmp401) Simplify temperature register arrays · bcb31e68
    Guenter Roeck authored
    The difference between TMP431 and other chips of this series is that the
    TMP431 has an additional sensor. The register addresses for other sensors
    are the same for all chips. It is therefore unnecessary to maintain two
    different arrays for TMP431 and the other chips. Just use the same array
    for all chips and add the TMP431 register addresses as third column.
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    bcb31e68
tmp401.c 19.2 KB