Re: [PATCH] power_supply: Add voltage_ocv property and use it formax17042 driver
From: Anton Vorontsov
Date: Fri May 04 2012 - 23:46:39 EST
On Tue, Apr 10, 2012 at 04:21:20PM +0530, Ramakrishna Pallala wrote:
> This adds a new sysfs file called 'voltage_ocv' which gives the
> Open Circuit Voltage of the battery.
>
> This property can be used for platform shutdown policies and
> can be useful for initial capacity estimations.
>
> Note: This patch is generated against linux-next branch.
>
> Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@xxxxxxxxx>
> ---
> Documentation/power/power_supply_class.txt | 2 ++
> drivers/power/max17042_battery.c | 8 ++++++++
> drivers/power/power_supply_sysfs.c | 1 +
> include/linux/power_supply.h | 2 ++
> 4 files changed, 13 insertions(+), 0 deletions(-)
This looks great, applied.
Thank you!
--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/