]> git.baikalelectronics.ru Git - kernel.git/commit
sony-laptop: adjust error handling in finding SNC handles
authorMattia Dongili <malattia@linux.it>
Sat, 19 May 2012 13:35:52 +0000 (22:35 +0900)
committerMatthew Garrett <mjg@redhat.com>
Thu, 31 May 2012 18:29:35 +0000 (14:29 -0400)
commit4158974f3d6edf510803a54295d4679ae5b3f548
tree689c46ff60c0799a58d85068d86cab5c39ed8a39
parentef1e9e82072da53f0da1d458ecb65629c1d7318e
sony-laptop: adjust error handling in finding SNC handles

All handles must be greater than 0, also return more meaningful error
codes on invalid conditions.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/sony-laptop.c