mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
[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: Dave Jones <davej@codemonkey.org.uk>
This commit is contained in:
parent
905d77cd95
commit
4570911811
1 changed files with 11 additions and 23 deletions
Loading…
Add table
Add a link
Reference in a new issue