diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-08-15 10:54:46 -0400 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2013-11-15 13:52:54 +0900 |
commit | 170fd934745b29cf49418d2e54c19154904a3db0 (patch) | |
tree | 83c61030a8b1fba2ffc8337358c58dd5c12e6c41 /Documentation/i2c/instantiating-devices | |
parent | 3f14c783e0683f0d8186383712d9675f471feed4 (diff) | |
download | linux-3.10-170fd934745b29cf49418d2e54c19154904a3db0.tar.gz linux-3.10-170fd934745b29cf49418d2e54c19154904a3db0.tar.bz2 linux-3.10-170fd934745b29cf49418d2e54c19154904a3db0.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 'Documentation/i2c/instantiating-devices')
0 files changed, 0 insertions, 0 deletions