Re: [PATCH V4] thermal: Add cooling device's statistics in sysfs

From: Viresh Kumar
Date: Tue Mar 13 2018 - 04:37:01 EST


On 13-03-18, 15:02, Zhang Rui wrote:
> Hi, Viresh,
>
> I will queue it for 4.17, with just one minor fix below.
>
> On ä, 2018-01-16 at 15:22 +0530, Viresh Kumar wrote:

> > + cdev->stats = stats;
> > + stats->last_time = ktime_get();
> > + stats->max_states = states;
> > + cdev->stats = stats;
> > +
>
> cdev->stats is set twice here, I will remove the first one.

Thanks for catching that :)

--
viresh