Re: [RFC PATCH v6 4/9] thermal: let governors have private data for each thermal zone

Javi Merino
2015-01-23T14:33:21Z

Hi Rui,

On Mon, Dec 08, 2014 at 04:11:32AM +0000, Zhang Rui wrote:
> On Fri, 2014-12-05 at 19:04 +0000, Javi Merino wrote:
> > A governor may need to store its current state between calls to
> > throttle(). That state depends on the thermal zone, so store it as
> > private data in struct thermal_zone_device.
> >
> > The governors may have two new ops: bind_to_tz() and unbind_from_tz().
> > When provided, these functions let governors do some initialization
> > and teardown when they are bound/unbound to a tz and possibly store that
> > information in the governor_data field of the struct
> > thermal_zone_device.
> >
> > Cc: Zhang Rui <rui.zhang@intel.com>
> > Cc: Eduardo Valentin <edubezval@gmail.com>
> > Signed-off-by: Javi Merino <javi.merino@arm.com>
>
> applied.
>
> thanks,
> rui

Where can I find it? Your next branch in git.kernel.org doesn't have
it. I'm preparing an update of this series and I wanted to based it
on a branch that had this commit applied. Cheers,
Javi