Skip to content
Commit b11f3d47 authored by John Pruitt's avatar John Pruitt Committed by Guenter Roeck
Browse files

hwmon: (ltc2945) Allow setting shunt resistor



Add the ability to specify the value of the shunt resistor in the
device tree instead of assuming it is 1 milliOhm. The value in the
device tree has the name shunt-resistor-micro-ohms and the
default value is 1000 micro-ohms in order to preserve the
current behavior.

Signed-off-by: default avatarJonathan Cormier <jcormier@criticallink.com>
Signed-off-by: default avatarJohn Pruitt <jpruitt@criticallink.com>
[groeck: Fixed multi-line alignment, squashed last patch of series]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 178b01ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment