Re: i2c/i2c-mxs: use devm_request_and_ioremap

2013-02-15 Thread Wolfram Sang
On Sat, Feb 02, 2013 at 02:14:57PM -, =?utf-8?q?Peter_H=C3=BCwe_=3CPeterHuewe=40gmx=2Ede=3E?= wrote: > Replace a call to devm_request_mem_region followed by a call to > dev_ioremap_nocache with devm_request_and_ioremap which does the same. > And since res_size isn't needed anymore we can

Re: i2c/i2c-mxs: use devm_request_and_ioremap

2013-02-15 Thread Wolfram Sang
On Sat, Feb 02, 2013 at 02:14:57PM -, =?utf-8?q?Peter_H=C3=BCwe_=3CPeterHuewe=40gmx=2Ede=3E?= wrote: Replace a call to devm_request_mem_region followed by a call to dev_ioremap_nocache with devm_request_and_ioremap which does the same. And since res_size isn't needed anymore we can remove

[PATCH] i2c/i2c-mxs: use devm_request_and_ioremap

2013-02-02 Thread Peter Huewe
Replace a call to devm_request_mem_region followed by a call to dev_ioremap_nocache with devm_request_and_ioremap which does the same. And since res_size isn't needed anymore we can remove it as well. Found with coccicheck and this semantic patch:

[PATCH] i2c/i2c-mxs: use devm_request_and_ioremap

2013-02-02 Thread Peter Huewe
Replace a call to devm_request_mem_region followed by a call to dev_ioremap_nocache with devm_request_and_ioremap which does the same. And since res_size isn't needed anymore we can remove it as well. Found with coccicheck and this semantic patch: