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

From: Viresh Kumar
Date: Tue Jan 16 2018 - 03:44:30 EST


On 15-01-18, 08:32, Eduardo Valentin wrote:
> On Mon, Jan 15, 2018 at 10:16:16AM +0530, Viresh Kumar wrote:
> > No because I am exiting early for same sates in that routine.
>
> Did I miss that hunk?

Yes. It is something like this.

+ if (stats->state == new_state)
+ goto unlock;
+

--
viresh