governors: unify last_state_idx

Since this field is shared by all governors, move it to
cpuidle device structure.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Marcelo Tosatti 2019-07-03 20:51:27 -03:00 • committed by Rafael J. Wysocki
commit 7d4daeedd5
4 changed files with 19 additions and 20 deletions