Skip to content
Commit 9a3031dc authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Eduardo Valentin
Browse files

thermal:core:fix: Check return code of the ->get_max_state() callback



The return code from ->get_max_state() callback was not checked during
binding cooling device to thermal zone device.

Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 73904cbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment