]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] cpufreq_conservative: alternative initialise approach
authorAlexander Clouter <alex@digriz.org.uk>
Wed, 22 Mar 2006 10:00:18 +0000 (10:00 +0000)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sun, 26 Mar 2006 08:18:18 +0000 (10:18 +0200)
commita159b82770ab84e1b5e0306fa65e158188492b16
tree93c0c6cd2438e8b20015bfb3444fa930b760452c
parent08a28e2e98aa821cf6f15f8a267beb2f33377bb9
[PATCH] cpufreq_conservative: alternative initialise approach

Venki, author of cpufreq_ondemand, came up with a neater way to remove the
initialiser code from the main loop of my code and out to the point when the
governor is actually initialised.

Not only does it look but it also feels cleaner, plus its simpler to
understand.  It also saves a bunch of pointless conditional statements in the
main loop.

Signed-off-by: Alexander Clouter <alex-kernel@digriz.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/cpufreq/cpufreq_conservative.c