]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (ina238) Modify the calculation formula to adapt to different chips
authorWenliang Yan <wenliang202407@163.com>
Tue, 6 May 2025 05:37:40 +0000 (01:37 -0400)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 12 May 2025 16:41:04 +0000 (09:41 -0700)
commit0d9f596b1fe3445040c05d0fa3842224fc77810b
treefd83c254487e8c790607647bf7032206fa35de0a
parent6daaf15a11731c32f1c34920b1d22903704375f9
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>
drivers/hwmon/ina238.c