commit | ddd9357f6017a8c61a20685feab5ce9eee635f6c | [log] [tgz] |
---|---|---|
author | Lawrence Yiu <lawyiu.dev@gmail.com> | Mon Mar 21 01:44:22 2016 -0700 |
committer | Darren Hart <dvhart@linux.intel.com> | Thu May 05 16:32:32 2016 -0700 |
tree | b98c4344cf99bc598e33f218f6f066a417507a34 | |
parent | 775d054aba90a2c787d4c081d6369f1fddaae0f4 [diff] |
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>