summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorRong Zhang <i@rong.moe>2026-03-27 03:19:50 +0800
committerGuenter Roeck <linux@roeck-us.net>2026-03-30 19:45:06 -0700
commitb95ba51883fdfb60ab2633e0a5320a2f26f5298e (patch)
tree6bb815a4fa166ef5e23531d8799aebf4c18f0807 /tools/lib/python/kdoc/python_version.py
parentbd1c178affd7d1ca86eaf97cf797e0d15e57eb0a (diff)
hwmon: Add label support for 64-bit energy attributes
Since commit 0bcd01f757bc ("hwmon: Introduce 64-bit energy attribute support"), devices can report 64-bit energy values by selecting the sensor type "energy64". However, such sensors can't report their labels since is_string_attr() was not updated to match it. Add label support for 64-bit energy attributes by updating is_string_attr() to match hwmon_energy64 in addition to hwmon_energy. Signed-off-by: Rong Zhang <i@rong.moe> Link: https://lore.kernel.org/r/20260327-b4-hwmon-witrn-v1-1-8d2f1896c045@rong.moe Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions