]> 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)
commitc0933dc9e6330b5e0d8f575c675385ebc239aaf7
treeebe7ab5f12ad77194256df3eef2798c48dfd4380
parentba5396120c04347728387369db9467727c02c4d5
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