diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-08-15 10:54:46 -0400 |
---|---|---|
committer | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-09-03 09:10:34 -0400 |
commit | 50e66c7ed8a1cd7e933628f9f5cf2617394adf5a (patch) | |
tree | 0b154f231362ca7886519f432f03f3b0a9eaf12b /lib/bitrev.c | |
parent | a8892d83894bcbd2717846cfa85955152b73453f (diff) | |
download | linux-50e66c7ed8a1cd7e933628f9f5cf2617394adf5a.tar.gz linux-50e66c7ed8a1cd7e933628f9f5cf2617394adf5a.tar.bz2 linux-50e66c7ed8a1cd7e933628f9f5cf2617394adf5a.zip |
drivers: thermal: add check when unregistering cpu cooling
This patch avoids NULL pointer accesses while unregistering
cpu cooling devices, in case a NULL pointer is received.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions