commit | 3bcb09a35641f2840bd59d8f82154f830dca282c | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@goop.org> | Thu Jul 06 12:30:26 2006 -0700 |
committer | Dave Jones <davej@redhat.com> | Mon Jul 31 18:37:06 2006 -0400 |
tree | 57fc63ed401b27573d88f322487a6554f006c883 | |
parent | 32deb2d5c4c291d7d9a73198dc357a151e4b978c [diff] |
[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>