Skip to content
Commit 45709118 authored by Dave Jones's avatar Dave Jones
Browse files

[CPUFREQ] Refactor locking in cpufreq_add_dev



Simplify this by moving the unlocking out of the error
paths into the exit path.

Signed-off-by: default avatarDave Jones <davej@codemonkey.org.uk>
parent 905d77cd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment