From: Hugh Dickins Date: Thu, 27 Sep 2012 23:48:28 +0000 (-0700) Subject: Thermal: Fix oops and unlocking in thermal_sys.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~60^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=791700cdfc2453eb927ff7875d183d9808d89bfb;p=pandora-kernel.git Thermal: Fix oops and unlocking in thermal_sys.c This patch fixes the following mutex and NULL pointer problems in thermal_sys.c: * mutex_unlock fix in update_temperature function * mutex_unlock fix in bind_cdev function * Correct early return to continue in bind_cdev function * NULL check fix in bind_cdev function * NULL check fix in bind_tz function Reported-by: Dan Carpenter Reported-by: Sedat Dilek Reported-by: Hugh Dickins Signed-off-by: Durgadoss R Signed-off-by: Sedat Dilek Signed-off-by: Hugh Dickins Signed-off-by: Zhang Rui --- Reading git-diff-tree failed