summaryrefslogtreecommitdiff
path: root/drivers/uwb
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-08-08 11:26:25 +0400
committerLen Brown <len.brown@intel.com>2009-08-30 06:58:19 +0400
commit4b4fe3b62e8d88068083218d3e42c45223b51d29 (patch)
tree6d08c8117fc004da8bae7312a3715f1c11ef3ced /drivers/uwb
parent4e231fa4cbd3ff53fcb7d76eccd6fd86a152a95f (diff)
downloadlinux-4b4fe3b62e8d88068083218d3e42c45223b51d29.tar.xz
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 <dtor@mail.ru> Acked-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions