hwmon: (ina238) Modify the calculation formula to adapt to different chips

Modify the calculation formula to adapt to different chips.

Signed-off-by: Wenliang Yan <wenliang202407@163.com>
Link: https://lore.kernel.org/r/20250506053741.4837-4-wenliang202407@163.com
[groeck: Fixed checkpatch issue (space before and after arithmetic operators)]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Wenliang Yan 2025-05-06 01:37:40 -04:00 • committed by Guenter Roeck
commit 0d9f596b1f