intel_idle: Relocate definitions of cpuidle callbacks
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 6 Feb 2020 17:41:15 +0000 (18:41 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Feb 2020 22:34:57 +0000 (23:34 +0100)
commit30a996fbb359ed53536a055af84a54223beabf91
treee179c504ebc779bcf56025178e58b6acf35361af
parentbc721c1e4517a5110c4b0ae2e80345d3db6425fc
intel_idle: Relocate definitions of cpuidle callbacks

Move the definitions of intel_idle() and intel_idle_s2idle() before
the definitions of cpuidle_state structures referring to them to
avoid having to use additional declarations of them (and drop those
declarations).

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c