From: Zhang Rui Date: Fri, 24 Jan 2014 02:23:19 +0000 (+0800) Subject: Thermal: thermal zone governor fix X-Git-Tag: v3.14-rc6~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2234bcd03ad031225d7dc37dd18852a2f2ff2bf;p=pandora-kernel.git Thermal: thermal zone governor fix This patch does a cleanup about the thermal zone govenor, setting and make the following rule. 1. For thermal zone devices that are registered w/o tz->tzp, they can use the default thermal governor only. 2. For thermal zone devices w/ governor name specified in tz->tzp->governor_name, we will use the default govenor if the governor specified is not available at the moment, and update tz->governor when the matched governor is registered. This also fixes a problem that OF registered thermal zones are running with no governor. Signed-off-by: Zhang Rui Acked-by: Javi Merino --- Reading git-diff-tree failed