[PATCH v2 3/3] i2c: qup: Use devm_platform_ioremap_resource helper

2019-09-17 Thread Saiyam Doshi
Simplify the implementation by using a known wrapper function. Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci Signed-off-by: Saiyam Doshi --- Changes in v2: * Updated changelog. drivers/i2c/busses/i2c-qup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)

Re: [3/3] i2c: qup: Use devm_platform_ioremap_resource helper

2019-09-17 Thread Saiyam Doshi
On Tue, Sep 17, 2019 at 05:40:14PM +0200, Markus Elfring wrote: > > Use devm_platform_ioremap_resource helper which wraps > > platform_get_resource() and devm_ioremap_resource() together. > > Can a wording like “Simplify this function implementation by using > a known wrapper function.” be nicer

Re: [3/3] i2c: qup: Use devm_platform_ioremap_resource helper

2019-09-17 Thread Markus Elfring
> Use devm_platform_ioremap_resource helper which wraps > platform_get_resource() and devm_ioremap_resource() together. Can a wording like “Simplify this function implementation by using a known wrapper function.” be nicer for this change description? > The semantic patch that makes this report

[PATCH 3/3] i2c: qup: Use devm_platform_ioremap_resource helper

2019-09-16 Thread Saiyam Doshi
Use devm_platform_ioremap_resource helper which wraps platform_get_resource() and devm_ioremap_resource() together. The semantic patch that makes this report is available in scripts/coccinelle/api/devm_platform_ioremap_resource.cocci. Found using - http://coccinelle.lip6.fr/ Signed-off-by: