diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2016-11-08 08:09:20 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-11-23 05:06:12 +0300 |
commit | 5027ba36cda6924488b5752820503cdf7a79dbe9 (patch) | |
tree | ad9efda66d57adab585a6bd960a51f899a7db08f /lib/klist.c | |
parent | 7eb4bd723e113d709d04121869964fcd3eb8cb4d (diff) | |
download | linux-5027ba36cda6924488b5752820503cdf7a79dbe9.tar.xz |
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>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions