[PATCH 0/2] cpufreq: Avoid checking governor return values that are always 0

From: Rafael J. Wysocki
Date: Thu May 12 2016 - 09:12:37 EST


Hi,

As it turns out, all of the existing governors (and the upcoming schedutil one)
always return 0 from ->governor() for the event argument equal to _GOV_STOP
or _POLICY_EXIT.

The following two patches rearrange the core cpufreq code to take that into
account.

Thanks,
Rafael