ds2760_battery: Make charge_now and charge_full writeable
authorDaniel Mack <daniel@caiaq.de>
Tue, 18 May 2010 19:49:53 +0000 (21:49 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 19 May 2010 08:14:42 +0000 (12:14 +0400)
commitbd52ca555ef36bf5b790178cfe8b7d42b5c16ca6
treef414ebcfa52a2014c7698e66614af25ee8452fbe
parent0011d2d4a5f7bb5666dcfb9f9b3dbdb084ab98f1
ds2760_battery: Make charge_now and charge_full writeable

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: Daniel 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: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/ds2760_battery.c