[PATCH] PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource
Olof Johansson
olof at lixom.net
Thu Aug 29 16:02:38 EDT 2013
On Mon, Aug 26, 2013 at 11:11:09AM +0200, Thierry Reding wrote:
> From: Julia Lawall <Julia.Lawall at lip6.fr>
>
> 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 <Julia.Lawall at lip6.fr>
> Acked-by: Thierry Reding <treding at nvidia.com>
> Tested-by: Thierry Reding <treding at nvidia.com>
> Acked-by: Bjorn Helgaas <bhelgaas at google.com>
> Acked-by: Stephen Warren <swarren at nvidia.com>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> ---
> Hi,
>
> This is a small cleanup patch on top of the recently merged Tegra PCIe
> driver. Can someone please apply this to the same branch that Tegra's
> tegra-for-3.12-soc branch was merged? I think Kevin Hilman pulled it
> into next/soc.
Applied.
-Olof
More information about the linux-arm-kernel
mailing list