diff mbox

[1/5] MIPS: ralink: Use devm_ioremap_resource

Message ID 1383217687-12037-2-git-send-email-tushar.behera@linaro.org
State Accepted
Commit cd5d58108e41b0edecc1e7a6468cbe06ce03be3f
Headers show

Commit Message

Tushar Behera Oct. 31, 2013, 11:08 a.m. UTC
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
CC: linux-mips@linux-mips.org
CC: John Crispin <blogic@openwrt.org>
CC: Ralf Baechle <ralf@linux-mips.org>
---
 arch/mips/ralink/timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c
index e49241a..2027857 100644
--- a/arch/mips/ralink/timer.c
+++ b/arch/mips/ralink/timer.c
@@ -126,7 +126,7 @@  static int rt_timer_probe(struct platform_device *pdev)
 		return -ENOENT;
 	}
 
-	rt->membase = devm_request_and_ioremap(&pdev->dev, res);
+	rt->membase = devm_ioremap_resource(&pdev->dev, res);
 	if (IS_ERR(rt->membase))
 		return PTR_ERR(rt->membase);