[CPUFREQ] Don't free held mutex in cpufreq_add_dev()
authorAndrew Morton <akpm@osdl.org>
Wed, 18 Jan 2006 21:40:54 +0000 (13:40 -0800)
committerDave Jones <davej@redhat.com>
Wed, 18 Jan 2006 21:53:46 +0000 (13:53 -0800)
commitf3876c1bc7a23d4712c824f2ef5ec7d138259594
treecbfe19995ff8d0aafe75bf1e7de6fadd050f5743
parent83933af4720b282f6f6a0b6c05a2a47b4cf08819
[CPUFREQ] Don't free held mutex in cpufreq_add_dev()

Make the cpufreq code play nicely with the mutex debugging code: don't free a
held mutex.

Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c