]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (ltc2947) Use the energy64 attribute type to report the energy
authorGuenter Roeck <linux@roeck-us.net>
Sun, 12 Oct 2025 21:16:24 +0000 (14:16 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 15 Oct 2025 18:02:42 +0000 (11:02 -0700)
commit2272f61d7241f8dd8c44d5c25ef5e67e61062111
treee9e57258342a5b329e6f9e011a4e0edeae07f8ab
parenta45b3ae40451542e3d6b37b8fba04e280cc8efa7
hwmon: (ltc2947) Use the energy64 attribute type to report the energy

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

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20251012211625.533791-1-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ltc2947-core.c