power: supply: test-power: implement charge_behaviour property
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 6 Mar 2024 19:37:04 +0000 (20:37 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 25 Mar 2024 22:29:06 +0000 (23:29 +0100)
commit070c1470ae24317e7b19bd3882b300b6d69922a4
tree53a8a8e352d943b51fc84be4bc1f97a88807e640
parent4cece764965020c22cff7665b18a012006359095
power: supply: test-power: implement charge_behaviour property

To validate the special formatting of the "charge_behaviour" sysfs
property add it to the example driver.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240306-power_supply-charge_behaviour_prop-v3-1-d04cf1f5f0af@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/test_power.c