Re: [PATCH 1/7] PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource

Thierry Reding
2013-08-20T19:31:37Z

[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]

On Tue, Aug 20, 2013 at 12:53:32PM -0600, Stephen Warren wrote:
> On 08/20/2013 10:26 AM, Bjorn Helgaas wrote:
> > On Tue, Aug 20, 2013 at 3:13 AM, Julia Lawall <julia.lawall@lip6.fr> wrote:
> >> From: Julia Lawall <Julia.Lawall@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@lip6.fr>
> >> Acked-by: Thierry Reding <thierry.reding@gmail.com>
> >> Tested-by: Thierry Reding <thierry.reding@gmail.com>
> >
> > I'm hoping this goes via arm-soc. Let me know if you need me to do
> > something. If you need it:
> >
> > Acked-by: Bjorn Helgaas <bhelgaas@google.com>
>
> In that case, Thierry, can you please bounce it to arm@kernel.org to be
> applied on top of wherever Tegra's for-3.12/soc branch was merged.
>
> Acked-by: Stephen Warren <swarren@nvidia.com>

Yes, I can do that. Thanks everyone.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]