Re: [PATCH] hwmon: (applesmc) Assign boolean values to a bool variable

2021-01-21 Thread Guenter Roeck
On Wed, Jan 20, 2021 at 02:41:10PM +0800, Jiapeng Zhong wrote: > Fix the following coccicheck warnings: > > ./drivers/hwmon/applesmc.c:568:6-23: WARNING: Assignment of > 0/1 to bool variable. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Zhong Applied. Thanks, Guenter

[PATCH] hwmon: (applesmc) Assign boolean values to a bool variable

2021-01-19 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./drivers/hwmon/applesmc.c:568:6-23: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- drivers/hwmon/applesmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/applesmc