From: Eduardo Valentin Date: Thu, 15 Aug 2013 14:54:46 +0000 (-0400) Subject: drivers: thermal: add check when unregistering cpu cooling X-Git-Tag: v3.12-rc1~45^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50e66c7ed8a1cd7e933628f9f5cf2617394adf5a;p=pandora-kernel.git drivers: thermal: add check when unregistering cpu cooling This patch avoids NULL pointer accesses while unregistering cpu cooling devices, in case a NULL pointer is received. Cc: Zhang Rui Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed