thermal: imx: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 6 Jun 2017 09:42:37 +0000 (15:12 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 30 Jun 2017 23:41:55 +0000 (16:41 -0700)
commite3bdc8d7623d5875403ad40443e7b049ae200fcd
tree7b514ba8f88a11c31cbf57189ec17aae646fd45d
parentf19b1a1735f7453c35031ed5ca3883f20176dde6
thermal: imx: Handle return value of clk_prepare_enable

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/imx_thermal.c