]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit904b296f308dc70d5560a2b4311bbe255de12fd7
tree24f6b8bdd9cb50c5ede02f5cccaabaf8c2cbfd01
parent99b416085ce99b03b8be63d6ba8872902e9809ae
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