aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorLawrence Yiu <[email protected]>2016-03-21 01:44:22 -0700
committerDarren Hart <[email protected]>2016-05-05 16:32:32 -0700
commitddd9357f6017a8c61a20685feab5ce9eee635f6c (patch)
treeb98c4344cf99bc598e33f218f6f066a417507a34 /lib/cpu-notifier-error-inject.c
parent775d054aba90a2c787d4c081d6369f1fddaae0f4 (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 <[email protected]> Acked-by: Mattia Dongili <[email protected]> Signed-off-by: Darren Hart <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions