]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (tmp401) Drop support for TMP461
authorGuenter Roeck <linux@roeck-us.net>
Sat, 16 Oct 2021 00:34:25 +0000 (17:34 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 28 Oct 2021 02:48:19 +0000 (19:48 -0700)
commitfb722baabb2a449d412f22a0305d157e56a42a96
treedd03890123e09d2811ded3377212faf2cffeb206
parent4c85b3ec2cbd981fe29ba0976f6dc83afab8e808
hwmon: (tmp401) Drop support for TMP461

TMP461 is almost identical to TMP451, which is already supported by the
lm90 driver. At the same time, unlike other sensors from the TMP401
compatible series, it only supports 8-bit temperature read operations,
and it supports negative temperatures when configured for its default
temperature range, and it supports a temperature offset register.
Supporting this chip in the tmp401 driver adds unnecessary complexity.
Remove its support from this driver and support the chip with the lm90
driver instead.

Fixes: 7d3f1e6bdc19 ("hwmon: (tmp401) use smb word operations instead of 2 smb byte operations")
Reported-by: David T. Wilson <david.wilson@nasa.gov>
Cc: David T. Wilson <david.wilson@nasa.gov>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/tmp401.rst
drivers/hwmon/Kconfig
drivers/hwmon/tmp401.c