Messages in this thread Patch in this message | | | From | Tushar Behera <> | Subject | [PATCH 1/5] MIPS: ralink: Use devm_ioremap_resource | Date | Thu, 31 Oct 2013 16:38:03 +0530 |
| |
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 --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); -- 1.7.9.5
| |