]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: test-power: Test access to extended power supply
authorArmin Wolf <W_Armin@gmx.de>
Fri, 27 Jun 2025 20:51:23 +0000 (22:51 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 7 Jul 2025 12:19:49 +0000 (15:19 +0300)
commita5f354232118751fe43be6ac896f8d6e7d7418b5
treec038e05297d9ba0d56d3bfbdb6bdb5aab1854ec6
parent3ebed2fddf6fac5729ffc8c471c87d111b641678
power: supply: test-power: Test access to extended power supply

Test that power supply extensions can access properties of their
power supply using power_supply_get_property_direct(). This both
ensures that the functionality works and serves as an example for
future driver developers.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20250627205124.250433-2-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/power/supply/test_power.c