hwmon: (ina238) Use the energy64 attribute type to report the energy
authorGuenter Roeck <linux@roeck-us.net>
Sun, 31 Aug 2025 22:06:05 +0000 (15:06 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 7 Sep 2025 23:34:52 +0000 (16:34 -0700)
commitcc67b875c9e40ef7628219a37447c477d5324dc1
treef9050c40fe88dcc0e03db17ae2da4318becf4fa5
parente7702d72c3e3fcc6017d29bba420deb04da3e1d6
hwmon: (ina238) Use the energy64 attribute type to report the energy

Use the energy64 attribute type instead of locally defined sysfs attributes
to report the accumulated energy.

No functional change intended.

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>
drivers/hwmon/ina238.c