diff options
| author | Dmitry Torokhov <[email protected]> | 2009-08-08 00:26:25 -0700 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2009-08-29 22:58:19 -0400 |
| commit | 4b4fe3b62e8d88068083218d3e42c45223b51d29 (patch) | |
| tree | 6d08c8117fc004da8bae7312a3715f1c11ef3ced /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 4e231fa4cbd3ff53fcb7d76eccd6fd86a152a95f (diff) | |
ACPI: video - fix potential crash when unloading
thermal_cooling_device_register() returns error encoded in a pointer
when it fails in which case we need to explictly set device->cdev
to NULL so we don't try to unregister it when unloading.
Signed-off-by: Dmitry Torokhov <[email protected]>
Acked-by: Zhang Rui <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions