cpufreq: fix kobject reference count handling
authorBalaji Rao <balajirrao@gmail.com>
Fri, 8 Feb 2008 19:22:40 +0000 (00:52 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:27:06 +0000 (15:27 -0800)
commit7ab47050453c10da13940114dea9c7f1c6ad323f
tree1b50343583ddd59bdfe531b891a5a2599117b589
parentb6c24de77cbe9afe4962f0738e6444e709e83c81
cpufreq: fix kobject reference count handling

The cpufreq core should not take an extra kobject reference count for no
reason, and then refuse to release it.  This has been reported as
keeping machines from properly powering down all the way.

Signed-off-by: Balaji Rao <balajirrao@gmail.com>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Yi Yang <yi.y.yang@intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Frans Pop <elendil@planet.nl>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/cpufreq/cpufreq.c