ACPI / fan: remove no need check for device pointer
authorAaron Lu <aaron.lu@intel.com>
Tue, 19 Nov 2013 07:21:24 +0000 (15:21 +0800)
committerZhang Rui <rui.zhang@intel.com>
Fri, 10 Oct 2014 05:57:11 +0000 (13:57 +0800)
commit8dd41f78adebb57909cccb0272e74c79e38b5238
tree2689c5c2eaabc7ef048bb392e7b0246b3276603f
parentbd6ad24342c3bc0476ba3f0b647c5ba0a71b45b4
ACPI / fan: remove no need check for device pointer

The device pointer will not be NULL in the PM callback and ACPI driver's
add/remove callback, so checking NULL for them isn't necessary.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/acpi/fan.c