sony-laptop: return a negative error code in sonypi_compat_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 10 Aug 2013 04:11:18 +0000 (13:11 +0900)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sun, 18 Aug 2013 17:23:09 +0000 (13:23 -0400)
Return -1 in the error handling case instead of 0, as done elsewhere in
this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>

No differences found