]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (ina238) Add ina238_config to save configurations for different chips
authorWenliang Yan <wenliang202407@163.com>
Tue, 6 May 2025 05:37:38 +0000 (01:37 -0400)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 12 May 2025 16:40:56 +0000 (09:40 -0700)
commit024e5cf24327184bb363b6e330550394982b93f8
treebd34e292ee7846bb90162d59e3a4a9e85d18faf4
parent0c0c84e4869895091c3029bc2625caa0feec99b9
hwmon: (ina238) Add ina238_config to save configurations for different chips

Add structure ina238_config to store proprietary properties for different
chips to meet different chip adaptations

Signed-off-by: Wenliang Yan <wenliang202407@163.com>
Link: https://lore.kernel.org/r/20250506053741.4837-2-wenliang202407@163.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina238.c