[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201311191419.25036@pali>
Date: Tue, 19 Nov 2013 14:19:19 +0100
From: Pali Rohár <pali.rohar@...il.com>
To: Pavel Machek <pavel@....cz>
Cc: Anton Vorontsov <anton@...msg.org>,
David Woodhouse <dwmw2@...radead.org>,
Tony Lindgren <tony@...mide.com>,
Russell King <linux@....linux.org.uk>,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
freemangordon@....bg, aaro.koskinen@....fi,
Jenny TC <jenny.tc@...el.com>
Subject: Re: [PATCH v2 1/3] power_supply: Add power_supply notifier
On Tuesday 19 November 2013 14:10:06 Pavel Machek wrote:
> On Tue 2013-11-19 11:18:03, Pali Rohár wrote:
> > This patch adds a notifier chain to the power_supply.
> > This notifier helps drivers in other subsystem to listen to
> > changes in power supply subsystem. This would help to take
> > some actions in those drivers on changing the power supply
> > properties. One such scenario is to increase/decrease
> > system performance based on the battery capacity/voltage.
> > Another scenario is to adjust the h/w peak current
> > detection voltage/current thresholds based on battery
> > voltage/capacity. The notifier helps drivers to listen to
> > changes in power_suppy susbystem without polling the
> > power_supply properties
> >
> > Signed-off-by: Jenny TC <jenny.tc@...el.com>
> > Signed-off-by: Pali Rohár <pali.rohar@...il.com>
>
> Reviewed-by: Pavel Machek <pavel@....cz>
>
> > +extern struct atomic_notifier_head
> > power_supply_notifier;
>
> You may want to delete some spaces here.
>
> Thanks,
> Pavel
Ok, note that this patch I copied from:
https://lkml.org/lkml/2013/9/23/181
--
Pali Rohár
pali.rohar@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists