Re: [PATCH 19/29] watchdog: ts72xx_wdt: simplify use of devm_ioremap_resource

2013-08-14 Thread Guenter Roeck
On 08/14/2013 02:11 AM, 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 follows: (http://coccinelle.

[PATCH 19/29] watchdog: ts72xx_wdt: 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;