summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-tps80031.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2013-08-26 11:11:09 +0200
committerOlof Johansson <olof@lixom.net>2013-08-29 13:02:16 -0700
commitdc05ee32985585ba1d4c80ea4d904e34a8f92ef4 (patch)
treebfd135df568a0147eac52f82003f88975dc27a58 /drivers/rtc/rtc-tps80031.c
parente8a72e2a5d0c65d2f477969cbc594be42644b68f (diff)
downloadblackbird-op-linux-dc05ee32985585ba1d4c80ea4d904e34a8f92ef4.tar.gz
blackbird-op-linux-dc05ee32985585ba1d4c80ea4d904e34a8f92ef4.zip
PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource
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 <treding@nvidia.com> Tested-by: Thierry Reding <treding@nvidia.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/rtc/rtc-tps80031.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud