[PATCH v2] Fix issues reported by Coccinelle

From: Saiyam Doshi
Date: Tue Sep 17 2019 - 13:04:11 EST


Using cocciecheck to ensure there are no semantic issues in
i2c-qup driver.

Refer below links for more information.
http://coccinelle.lip6.fr
https://bottest.wiki.kernel.org/coccicheck

Changes in v2:
* Updated changelog as suggested by Markus Elfring.

v1:
https://patchwork.ozlabs.org/cover/1163043/

Saiyam Doshi (3):
i2c: qup: remove explicit conversion to boolean
i2c: qup: Remove dev_err() log after platform_get_irq*() failure
i2c: qup: Use devm_platform_ioremap_resource helper

drivers/i2c/busses/i2c-qup.c | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)

--
2.20.1