• Daniel Mack's avatar
    ds2760_battery: Make charge_now and charge_full writeable · bd52ca55
    Daniel Mack authored
    For userspace tools and daemons, it might be necessary to adjust
    the charge_now and charge_full properties of the ds2760 battery monitor,
    for example for unavoidable corrections due to aging batteries.
    Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
    Cc: Matt Reimer <mreimer@vpop.net>
    Cc: Evgeniy Polyakov <zbr@ioremap.net>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: David Woodhouse <dwmw2@infradead.org>
    Cc: Alexey Starikovskiy <astarikovskiy@suse.de>
    Cc: Len Brown <len.brown@intel.com>
    Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
    bd52ca55
ds2760_battery.c 18.2 KB