ACPI / cpuidle: Drop unnecessary calls from acpi_idle_do_entry()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Feb 2015 22:55:08 +0000 (23:55 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Feb 2015 22:55:08 +0000 (23:55 +0100)
commitb00783fd90388d221dabd4df2affeea7da2363cd
tree305ac5bac98160a155271150c530409d25f0b70b
parente36f014edff70fc02b3d3d79cead1d58f289332e
ACPI / cpuidle: Drop unnecessary calls from acpi_idle_do_entry()

Since the cpuidle core calls stop_critical_timings() and
start_critical_timings() around the execution of ->enter callbacks,
acpi_idle_do_entry() doesn't need to do that (and really shouldn't).

Also using "inline" on it is pointless and the kerneldoc entry does
not reflect the actual situation any more.

Fix all of the above.

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