From: Kapileshwar Singh Date: Mon, 16 Mar 2015 12:00:50 +0000 (+0000) Subject: thermal: cpu_cooling: Remove cpu_dev update on policy CPU update X-Git-Tag: omap-for-v4.3/legacy-v2-signed~141^2^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54b92aae834ce8d02d6092f8ae5eb1fe0d607f1e;p=pandora-kernel.git thermal: cpu_cooling: Remove cpu_dev update on policy CPU update It was initially understood that an update to the cpu_device (cached in cpufreq_cooling_device) was required to ascertain the correct operating point of the device on a cpufreq policy->cpu update or creation or deletion of a cpufreq policy. (e.g. when the existing policy CPU goes offline). This update is not required and it is possible to ascertain the OPPs from the leading CPU in a cpufreq domain even if the CPU is hotplugged out. Fixes: e0128d8ab423 ("thermal: cpu_cooling: implement the power cooling device API") Acked-by: Javi Merino Signed-off-by: Kapileshwar Singh Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed