[CPUFREQ] Refactor locking in cpufreq_add_dev
authorDave Jones <davej@redhat.com>
Wed, 5 Mar 2008 19:07:34 +0000 (14:07 -0500)
committerDave Jones <davej@redhat.com>
Mon, 28 Apr 2008 19:05:42 +0000 (15:05 -0400)
Simplify this by moving the unlocking out of the error
paths into the exit path.

Signed-off-by: Dave Jones <davej@codemonkey.org.uk>

No differences found