]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pmbus/ir35221) Remove unnecessary scaling
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 15 Jan 2018 05:58:58 +0000 (16:58 +1100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 15 Jan 2018 12:22:46 +0000 (04:22 -0800)
commitdfd6a4b56a4617394082d2d16b5eab2f0fb31aa8
treeebe7ab5f12ad77194256df3eef2798c48dfd4380
parent300ccbcf64437975605c03b3a87cc0ff74d39fd3
hwmon: (pmbus/ir35221) Remove unnecessary scaling

The ir35221 datasheet describes specific scaling factors for a number of
commands which the current driver applies when reading.
However now that the ir35221 has been tested on machines with more
easily verifiable readings these descriptions have turned out to be
superfluous and reading each command according to the linear format is
sufficient.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ir35221.c