summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2025-09-03 16:08:03 -0700
committerGuenter Roeck <linux@roeck-us.net>2025-09-07 16:34:39 -0700
commitb7bce92f2890f6002bd3155c0510bd28b6ead4e1 (patch)
treecee58bb8076176fd50e86de7f6ff559b41b12f71 /rust/helpers/helpers.c
parentbcac89eebefbcf886c2b971de4bf026073e0ee8e (diff)
hwmon: (ina238) Stop using the shunt voltage register
Since the value of the current register and the value of the shunt register now match each other, it is no longer necessary to read the shunt voltage register in the first place. Read the current register instead and use it to calculate the shunt voltage. Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # INA780 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions