cpuidle: menu: use DIV_ROUND_CLOSEST_ULL()
authorJavi Merino <javi.merino@arm.com>
Thu, 16 Apr 2015 19:43:51 +0000 (12:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:55 +0000 (09:03 -0400)
commitee3c86f356b4dfc130442d0bd68ff2da2bd60538
treefa372a4856b72801ff2cf8a7fe81310031b0b77f
parentaa7762010a4340a12a87a54b7a402adcdce8cfa9
cpuidle: menu: use DIV_ROUND_CLOSEST_ULL()

Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.

Signed-off-by: Javi Merino <javi.merino@arm.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/cpuidle/governors/menu.c