]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adm1275) Introduce configuration data structure for coeffcients
authorGuenter Roeck <linux@roeck-us.net>
Sat, 4 Jul 2015 15:39:18 +0000 (08:39 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 9 Aug 2015 20:44:26 +0000 (13:44 -0700)
commit0909254480088f851f0a49bd267eb7e2f909cf05
tree24f6b8bdd9cb50c5ede02f5cccaabaf8c2cbfd01
parent8e4f050c7123950c1d8cc68dc9e9a66c0a9a4b38
hwmon: (adm1275) Introduce configuration data structure for coeffcients

Each new chip supported by the driver has a new set of coefficients,
making hard-coding coefficients more and more cumbersome. Introduce
a datastructure and table to simplify configuration.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/adm1275.c