On Tue, Aug 27, 2013 at 12:52:33PM -0600, Stephen Warren wrote:
> From: Julia Lawall <[email protected]>
> 
> Use devm_ioremap_resource instead of devm_request_and_ioremap.
> 
> This was done using the semantic patch
> scripts/coccinelle/api/devm_ioremap_resource.cocci
> 
> Error-handling code was manually removed from the associated calls to
> platform_get_resource.
> 
> Adjust the comment at the third platform_get_resource_byname to make clear
> why ioremap is not done at this point.
> 
> Signed-off-by: Julia Lawall <[email protected]>
> Acked-by: Thierry Reding <[email protected]>
> Tested-by: Thierry Reding <[email protected]>
> Acked-by: Bjorn Helgaas <[email protected]>
> Signed-off-by: Stephen Warren <[email protected]>
> ---
>  drivers/pci/host/pci-tegra.c | 31 ++++++++++---------------------
>  1 file changed, 10 insertions(+), 21 deletions(-)

I bounced that patch to [email protected] a few days ago but haven't
received a response yet. In case it already got applied someone will
probably notice, so no harm done.

Thierry

Attachment: pgpunr8HTncOG.pgp
Description: PGP signature

Reply via email to