From: Devendra Naga Date: Thu, 13 Sep 2012 17:08:48 +0000 (-0400) Subject: staging:ccg: fix a class_destroy when kmalloc fails after the class_create X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~251 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99d4b1a6cbfa8449dad5fb58e8c8044301e2667a;p=pandora-kernel.git staging:ccg: fix a class_destroy when kmalloc fails after the class_create we do class_create and call kmalloc to allocate dev pointer, and if kmalloc fail we forget destoying class Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed