sony-laptop: correct find_snc_handle failure checks
authorMattia Dongili <malattia@linux.it>
Wed, 13 Jun 2012 21:36:02 +0000 (06:36 +0900)
committerMatthew Garrett <mjg@redhat.com>
Tue, 26 Jun 2012 18:43:39 +0000 (14:43 -0400)
commita1071a5abf1f4d4a7f8324e21b8b32b1342013c7
treebc5beba6691344c734177ba942c208175ecd43c2
parent56f4a9f76d8ce7c7cef92905c909aad0c7e5c9db
sony-laptop: correct find_snc_handle failure checks

Since bab7084c745bf4d75b760728387f375fd34dc683, find_snc_handle
returns -EINVAL, not -1.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/sony-laptop.c
This page took 0.050077 seconds and 5 git commands to generate.