[PATCH v2 1/3] i2c: qup: remove explicit conversion to boolean

2019-09-17 Thread Saiyam Doshi
Relational and logical operators evaluate to bool, explicit conversion is overly verbose and unneeded. Generated by: scripts/coccinelle/misc/boolconv.cocci Signed-off-by: Saiyam Doshi --- Changes in v2: * Updated changelog drivers/i2c/busses/i2c-qup.c | 14 ++ 1 file changed, 6

Re: [1/3] i2c: qup: remove explicit conversion to boolean

2019-09-17 Thread Saiyam Doshi
On Tue, Sep 17, 2019 at 05:07:29PM +0200, Markus Elfring wrote: > > Found using - Coccinelle (http://coccinelle.lip6.fr) > > Can a tag like “Generated by: scripts/coccinelle/misc/boolconv.cocci” > be more helpful for this change description? Yes, will do. -Saiyam

Re: [1/3] i2c: qup: remove explicit conversion to boolean

2019-09-17 Thread Markus Elfring
> Found using - Coccinelle (http://coccinelle.lip6.fr) Can a tag like “Generated by: scripts/coccinelle/misc/boolconv.cocci” be more helpful for this change description? Regards, Markus

[PATCH 1/3] i2c: qup: remove explicit conversion to boolean

2019-09-16 Thread Saiyam Doshi
Relational and logical operators evaluate to bool, explicit conversion is overly verbose and unneeded. Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Saiyam Doshi --- drivers/i2c/busses/i2c-qup.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff