[CPUFREQ] cpufreq_notify_transition cleanup.
authorDave Jones <davej@redhat.com>
Tue, 31 Jan 2006 23:53:55 +0000 (15:53 -0800)
committerDave Jones <davej@redhat.com>
Tue, 31 Jan 2006 23:53:55 +0000 (15:53 -0800)
commite4472cb3706ceea42797ae1dc79d624026986694
tree3b6276a2c0caca47fbf7b53f9ec26593ff0cf5fa
parentc0672860199ac009af7cf198a134ee7a4c3a9bb3
[CPUFREQ] cpufreq_notify_transition cleanup.

Introduce caching of cpufreq_cpu_data[freqs->cpu], which allows us to
make the function a lot more readable, and as a nice side-effect, it
now fits in < 80 column displays again.

Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c