Re: [PATCH] power_supply: Add new power supply AUTHENTIC property

From: Anton Vorontsov
Date: Wed Aug 22 2012 - 23:01:12 EST


On Thu, Aug 23, 2012 at 06:50:21AM +0530, Ramakrishna Pallala wrote:
> It is possible that users can use non-standard chargers
> or use invalid batteries especially with mobile devices.
>
> This patch adds a new power supply property called 'AUTHENTIC' to
> indicate this to the user(user space).
>
> Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@xxxxxxxxx>
> ---

Applied, thanks a lot!

> Documentation/power/power_supply_class.txt | 3 +++
> drivers/power/power_supply_sysfs.c | 1 +
> include/linux/power_supply.h | 1 +
> 3 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/power/power_supply_class.txt b/Documentation/power/power_supply_class.txt
> index 2f0ddc1..29a1fcd 100644
> --- a/Documentation/power/power_supply_class.txt
> +++ b/Documentation/power/power_supply_class.txt
> @@ -81,6 +81,9 @@ This defines trickle and fast charges. For batteries that
> are already charged or discharging, 'n/a' can be displayed (or
> 'unknown', if the status is not known).
>
> +AUTHENTIC - indicates the power supp(battery or charger) connected

Had to fix s/supp/supply/
--
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/