platform/x86: intel_pmc_core: Assign boolean values to a bool variable
authorKaixu Xia <kaixuxia@tencent.com>
Sat, 7 Nov 2020 12:53:41 +0000 (20:53 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 9 Nov 2020 14:02:40 +0000 (15:02 +0100)
commit3be3955315bdf7e4511514a520a76675a23e86e6
tree4c1019daafdf1c2f0e0fd3772a698a41884d345f
parent156ec4731cb22b06c08e27debc1ef9f16f4bbb5e
platform/x86: intel_pmc_core: Assign boolean values to a bool variable

Fix the following coccinelle warnings:

./drivers/platform/x86/intel_pmc_core.c:932:1-16: WARNING: Assignment of 0/1 to bool variable

Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/1604753621-7387-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_pmc_core.c