From: Lukasz Majewski Date: Wed, 28 Jan 2015 15:25:22 +0000 (+0100) Subject: thermal: exynos: Correct sanity check at exynos_report_trigger() function X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~32^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eccb60145415dd8e171687cd1694f50141f50d6d;p=pandora-kernel.git thermal: exynos: Correct sanity check at exynos_report_trigger() function Up till now, by mistake, wrong variable was tested against being NULL. Since exynos_report_trigger() is always called with valid p pointer, it is only necessary to check if a valid thermal zone device is passed. Reported-by: Dan Carpenter Signed-off-by: Lukasz Majewski Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed