devfreq_cooling: return on allocation failure
If the allocation fails then we can't continue. Fixes: a76caf55 ('thermal: Add devfreq cooling') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
Showing
想要评论请 注册 或 登录