]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: dell-ddv: Use the power supply extension mechanism
authorArmin Wolf <W_Armin@gmx.de>
Wed, 5 Mar 2025 05:30:09 +0000 (06:30 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 7 Mar 2025 10:14:19 +0000 (12:14 +0200)
commit99923a0df7852311fa3d01eaddb430c958780143
treeeed5ec864fe39de16d3b5ef865e4542d477e62e7
parent8dc3f0161e35d6ceb12de4a70cbed593e5b0583f
platform/x86: dell-ddv: Use the power supply extension mechanism

Use the power supply extension mechanism for registering the battery
temperature properties so that they can show up in the hwmon device
associated with the ACPI battery.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20250305053009.378609-4-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/dell-wmi-ddv.c