power_supply: Add constant charge_current and charge_voltage properties
[firefly-linux-kernel-4.4.55.git] / drivers / power / power_supply_sysfs.c
index 4150747f9186f8dfaff9faf81bf03a7ade8cb9fa..58846d929b3455cb769b2840fc200141404b92e9 100644 (file)
@@ -159,6 +159,8 @@ static struct device_attribute power_supply_attrs[] = {
        POWER_SUPPLY_ATTR(charge_now),
        POWER_SUPPLY_ATTR(charge_avg),
        POWER_SUPPLY_ATTR(charge_counter),
+       POWER_SUPPLY_ATTR(constant_charge_current),
+       POWER_SUPPLY_ATTR(constant_charge_voltage),
        POWER_SUPPLY_ATTR(energy_full_design),
        POWER_SUPPLY_ATTR(energy_empty_design),
        POWER_SUPPLY_ATTR(energy_full),