Re: [PATCH 1/2] spi: simplify devm_request_mem_region/devm_ioremap

2013-08-29 Thread Mark Brown
On Sat, Aug 24, 2013 at 07:13:15PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Convert the composition of devm_request_mem_region and devm_ioremap to a > single call to devm_ioremap_resource. The associated call to > platform_get_resource is also simplified and moved next to the new

Re: [PATCH 1/2] spi: simplify devm_request_mem_region/devm_ioremap

2013-08-29 Thread Mark Brown
On Sat, Aug 24, 2013 at 07:13:15PM +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Convert the composition of devm_request_mem_region and devm_ioremap to a single call to devm_ioremap_resource. The associated call to platform_get_resource is also simplified and moved next

[PATCH 1/2] spi: simplify devm_request_mem_region/devm_ioremap

2013-08-24 Thread Julia Lawall
From: Julia Lawall Convert the composition of devm_request_mem_region and devm_ioremap to a single call to devm_ioremap_resource. The associated call to platform_get_resource is also simplified and moved next to the new call to devm_ioremap_resource. This was done using a combination of the

[PATCH 1/2] spi: simplify devm_request_mem_region/devm_ioremap

2013-08-24 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Convert the composition of devm_request_mem_region and devm_ioremap to a single call to devm_ioremap_resource. The associated call to platform_get_resource is also simplified and moved next to the new call to devm_ioremap_resource. This was done using a