Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 03a174b3 authored by Wei Yongjun's avatar Wei Yongjun Committed by Matthew Garrett
Browse files

sony-laptop: return a negative error code in sonypi_compat_init()



Return -1 in the error handling case instead of 0, as done elsewhere in
this function.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarMattia Dongili <malattia@linux.it>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent 50e37cce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment