]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cpuidle: menu: Use ktime_to_us instead of reinventing the wheel
authorMel Gorman <mgorman@suse.de>
Wed, 6 Aug 2014 13:19:19 +0000 (14:19 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 6 Aug 2014 19:17:44 +0000 (21:17 +0200)
commit107d4f4601a1408d04a5b54ffba507c92c235f58
tree55a7d8cdeb5b530664dd6616414ad97236739025
parentae77930060338226a4377d3b93580c43b5ec82ae
cpuidle: menu: Use ktime_to_us instead of reinventing the wheel

The ktime_to_us implementation is slightly better than the one implemented
in menu.c. Use it

Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/menu.c