]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit08f411bcb5fbd96c53d4535e0526f70b971ee5d5
treeebe7ab5f12ad77194256df3eef2798c48dfd4380
parentabe6c3b06fa80777e321add05345c799a74e624a
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