]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
thermal: imx: correct driver load sequence for cpu cooling
authorBai Ping <b51503@freescale.com>
Tue, 14 Oct 2014 05:12:07 +0000 (13:12 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 7 Nov 2014 18:44:41 +0000 (14:44 -0400)
commit491b079db3f7fa631f6a012e7e896a1eafe4dd99
tree924c4146e1bcca2851e40d659f0abf5dd889b457
parent225112a56942c74f1e114587719fa2bd0d180b3e
thermal: imx: correct driver load sequence for cpu cooling

thermal driver should be regisetered after cpufreq driver has
been registered and probed. Doing so is to make sure that thermal
driver can get the max cpu cooling states correctly when calling
get_property.

Signed-off-by: Bai Ping <b51503@freescale.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/imx_thermal.c