From: Eduardo Valentin Date: Mon, 8 Apr 2013 12:19:13 +0000 (-0400) Subject: staging: ti-soc-thermal: defer probe if cpufreq is not ready X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~239 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1553334236701f1c790d6dc800d8f327b6c5166;p=pandora-kernel.git staging: ti-soc-thermal: defer probe if cpufreq is not ready When builtin compiled, there is a chance for this driver be probed before cpufreq driver is up and running. In this case, the cpucooling device can be wrong initialized. Thus, this patch makes sure this driver is probed only when cpufreq driver is ready. Whenever there is no cpufreq driver registered, the probe will return -EPROBE_DEFER. Tested-by: J Keerthy Signed-off-by: Eduardo Valentin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed