diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-11-04 16:36:20 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-11-04 11:06:29 -0800 |
commit | ce5ee1611284bef81d0308c6c2749902f55ed1d5 (patch) | |
tree | 1173d116687b615799d1e6779c5d16163acf4ab9 /drivers/iio/light | |
parent | 7e38a5b1daa12cbaace3c76402999a84460df3e2 (diff) | |
download | linux-ce5ee1611284bef81d0308c6c2749902f55ed1d5.tar.gz linux-ce5ee1611284bef81d0308c6c2749902f55ed1d5.tar.bz2 linux-ce5ee1611284bef81d0308c6c2749902f55ed1d5.zip |
devfreq_cooling: return on allocation failure
If the allocation fails then we can't continue.
Fixes: a76caf55e5b3 ('thermal: Add devfreq cooling')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/iio/light')
0 files changed, 0 insertions, 0 deletions