commit | bcb31e680837b71648158f2fedfc078cf6699207 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Oct 17 07:47:43 2021 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Dec 26 15:02:05 2021 -0800 |
tree | 3f7973b9040d094665f38c65cef99575082f0bf8 | |
parent | eacb52f010a80752e77a86aee9cb01f4864b0ca4 [diff] |
hwmon: (tmp401) Simplify temperature register arrays 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: Guenter Roeck <linux@roeck-us.net>