[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: NDave Jones <davej@codemonkey.org.uk>
Showing
想要评论请 注册 或 登录
Simplify this by moving the unlocking out of the error
paths into the exit path.
Signed-off-by: NDave Jones <davej@codemonkey.org.uk>