diff options
author | Zhao Yakui <[email protected]> | 2008-02-15 08:34:37 +0800 |
---|---|---|
committer | Len Brown <[email protected]> | 2008-02-15 18:23:50 -0500 |
commit | f28bb45e2863173a7464d98907677e903f42c68b (patch) | |
tree | 060cb979e0ead9762805861d0fd17412068de42f /net/unix/sysctl_net_unix.c | |
parent | 101142c37be8e5af9b847860219217e6b958c739 (diff) |
ACPI: thermal: Check whether cooling device exists before unregistering
OS should check whether the cooling device exists before it is unregistered.
If it doesn't exists, it is unnecessary to remove the sysfs link
and call the function of thermal_cooling_device_unregister.
http://bugzilla.kernel.org/show_bug.cgi?id=9982
Signed-off-by: Zhao Yakui <[email protected]>
Tested-by : Dhaval Giani <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions