]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (tmp401) Convert to _info API
authorGuenter Roeck <linux@roeck-us.net>
Sat, 16 Oct 2021 17:51:27 +0000 (10:51 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 26 Dec 2021 23:02:05 +0000 (15:02 -0800)
commitcf112ca5bda8bc372ab1551571107e49d85a7b33
treee929e81ad70da48e41679abce6310042c1f62b45
parente661b58cbd9699d9197df8bb80b3a9ac18d98d73
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>
drivers/hwmon/tmp401.c