]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (ltc4282) Use the energy64 attribute type to report the energy
authorGuenter Roeck <linux@roeck-us.net>
Sun, 12 Oct 2025 21:16:25 +0000 (14:16 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 15 Oct 2025 18:02:42 +0000 (11:02 -0700)
commit9d501496f094c71a1630e4d72dedbb5fa98bca0d
treef3839cad30be1e839d4ca069c577227c573ce2f4
parent2272f61d7241f8dd8c44d5c25ef5e67e61062111
hwmon: (ltc4282) 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-2-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ltc4282.c