sparc,leon: Convert to use devm_ioremap_resource
authorTushar Behera <tushar.behera@linaro.org>
Mon, 17 Jun 2013 09:07:44 +0000 (14:37 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2013 09:10:30 +0000 (02:10 -0700)
commitf670758f5b829169562e1016a72af0c59360a541
tree0eca8d247dd2ba2debca4cd5f062f3608b39b539
parent771a37ff4d80b80db3b0df3e7696f14b298c67b7
sparc,leon: Convert to use devm_ioremap_resource

Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()")
introduced devm_ioremap_resource() and deprecated the use of
devm_request_and_ioremap().

While at it, also remove the error message as devm_ioremap_resource()
also prints similar error message.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
CC: sparclinux@vger.kernel.org
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/leon_pci_grpci1.c