Re: [PATCH] pinctrl: qcom: spmi-gpio: Assign boolean values to a bool variable

2021-01-22 Thread Linus Walleij
On Thu, Jan 21, 2021 at 4:19 AM Bjorn Andersson wrote: > On Wed 20 Jan 01:29 CST 2021, Jiapeng Zhong wrote: > > > Fix the following coccicheck warnings: > > > > ./drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:340:3-15: WARNING: > > Assignment of 0/1 to bool variable. > > > > Reported-by: Abaci Robot >

Re: [PATCH] pinctrl: qcom: spmi-gpio: Assign boolean values to a bool variable

2021-01-20 Thread Bjorn Andersson
On Wed 20 Jan 01:29 CST 2021, Jiapeng Zhong wrote: > Fix the following coccicheck warnings: > > ./drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:340:3-15: WARNING: > Assignment of 0/1 to bool variable. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Zhong Reviewed-by: Bjorn Andersson Althou

[PATCH] pinctrl: qcom: spmi-gpio: Assign boolean values to a bool variable

2021-01-19 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:340:3-15: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 8 1 file changed, 4 insertions(+), 4 deletions