hwmon: (tmp401) Convert to _info API

The new API is cleaner and reduces code size significantly.
All chip accesses are 'hidden' in chip access to prepare for using
regmap. Local caching code is removed, to be replaced by regmap based
caching in a follow-up patch.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck
2021-12-26 15:02:05 -08:00
parent bcb31e6808
commit ca53e7640d
+355 -393
View File
File diff suppressed because it is too large Load Diff