power: supply: fix charge_behaviour attribute initialization
All properties have to be added to power_supply_attrs which was missed before. Fixes: 1b0b6cc8 ("power: supply: add charge_behaviour attributes") Reported-by: Heiner Kallweit <hkallweit1@gmail.com> Suggested-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20220105064239.2689-1-linux@weissschuh.netSigned-off-by: Hans de Goede <hdegoede@redhat.com>
Showing
Please register or sign in to comment