Re: [PATCH 7/29] dma: mmp: simplify use of devm_ioremap_resource

2013-08-14 Thread Vinod Koul
On Wed, Aug 14, 2013 at 11:11:11AM +0200, Julia Lawall wrote: > From: Julia Lawall > > Remove unneeded error handling on the result of a call to > platform_get_resource when the value is passed to devm_ioremap_resource. > > A simplified version of the semantic patch that makes this change is as

[PATCH 7/29] dma: mmp: simplify use of devm_ioremap_resource

2013-08-14 Thread Julia Lawall
From: Julia Lawall Remove unneeded error handling on the result of a call to platform_get_resource when the value is passed to devm_ioremap_resource. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression pdev,res,n,e,e1;