]> err.no Git - linux-2.6/commit
[CPUFREQ] [1/2] add __find_governor helper and clean up some error handling.
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 6 Jul 2006 19:30:26 +0000 (12:30 -0700)
committerDave Jones <davej@redhat.com>
Mon, 31 Jul 2006 22:37:06 +0000 (18:37 -0400)
commit3bcb09a35641f2840bd59d8f82154f830dca282c
tree57fc63ed401b27573d88f322487a6554f006c883
parent32deb2d5c4c291d7d9a73198dc357a151e4b978c
[CPUFREQ] [1/2] add __find_governor helper and clean up some error handling.

Adds a __find_governor() helper function to look up a governor by
name.  Also restructures some error handling to conform to the
"single-exit" model which is generally preferred for kernel code.

Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c