]> git.baikalelectronics.ru Git - kernel.git/commit
intel_idle: Clean up definitions of cpuidle callbacks
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 6 Feb 2020 17:41:06 +0000 (18:41 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Feb 2020 22:34:57 +0000 (23:34 +0100)
commitc921f08c7cdc6d28e49e442fc6d048b879c6f1d4
tree63075ae59344fdd693f13dc0b9736f283719846e
parentc23f6de1932ea694c7f7a94528d924090f8e9a30
intel_idle: Clean up definitions of cpuidle callbacks

Add proper kerneldoc descriptions to intel_idle() and
intel_idle_s2idle(), annotate the latter with __cpuidle and
reorder the declarations of local variables in both of them to
reflect the mwait_idle_with_hints() arguments order.

No intentional functional impact.

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