thermal: core: small style fix when checking for __find_governor()
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:09:20 +0000 (21:09 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit5027ba36cda6924488b5752820503cdf7a79dbe9
treead9efda66d57adab585a6bd960a51f899a7db08f
parent7eb4bd723e113d709d04121869964fcd3eb8cb4d
thermal: core: small style fix when checking for __find_governor()

Remove style issue:
CHECK: Comparison to NULL could be written "!__find_governor"
+ if (__find_governor(governor->name) == NULL) {

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c