hwmon: (adm1275) enable adm1272 temperature reporting
authorChu Lin <linchuyuan@google.com>
Wed, 12 May 2021 17:10:43 +0000 (17:10 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 17 Jun 2021 11:21:45 +0000 (04:21 -0700)
commit9da9c2dc57b2fa2e65521894cb66df4bf615214d
treed2d0c9593624b7a04442ed36d201b534a06380cc
parent9abfb52b502889f1528316cf0b7d4116d40abebe
hwmon: (adm1275) enable adm1272 temperature reporting

adm1272 supports temperature reporting but it is disabled by default.

Tested:
ls temp1_*
temp1_crit           temp1_highest        temp1_max
temp1_crit_alarm     temp1_input          temp1_max_alarm

cat temp1_input
26642

Signed-off-by: Chu Lin <linchuyuan@google.com>
Link: https://lore.kernel.org/r/20210512171043.2433694-1-linchuyuan@google.com
[groeck: Updated subject to reflect correct driver]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/adm1275.c