devfreq_cooling: return on allocation failure
If the allocation fails then we can't continue. Fixes: a76caf55 ('thermal: Add devfreq cooling') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Showing
Please register or sign in to comment