diff options
author | Lawrence Yiu <lawyiu.dev@gmail.com> | 2016-03-21 11:44:22 +0300 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-05-06 02:32:32 +0300 |
commit | ddd9357f6017a8c61a20685feab5ce9eee635f6c (patch) | |
tree | b98c4344cf99bc598e33f218f6f066a417507a34 /net/rds/loop.h | |
parent | 775d054aba90a2c787d4c081d6369f1fddaae0f4 (diff) | |
download | linux-ddd9357f6017a8c61a20685feab5ce9eee635f6c.tar.xz |
sony-laptop: Avoid oops on module unload for older laptops
Older VAIO laptops without the SN00 ACPI method will have the "handles"
variable unset. Return early from sony_nc_function_cleanup when "handles"
is null.
Signed-off-by: Lawrence Yiu <lawyiu.dev@gmail.com>
Acked-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'net/rds/loop.h')
0 files changed, 0 insertions, 0 deletions