From patchwork Thu Oct 31 11:08:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 21299 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2978B20F2F for ; Thu, 31 Oct 2013 11:09:38 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id j10sf8288524oah.9 for ; Thu, 31 Oct 2013 04:09:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=pVlwOtswNBL+VMZUrQr48J57sRS0MjPcTKQ+joE4VO4=; b=fHvCK4gFZeAn19Yjlh7vU2kHZCaDKW0/pKjV9occXcoi3kDPD+En81IsX9+uiiBptN jVdKmbIrXbNCVzHGpn2gDrHCUlXEokUrXEMZ59ArxLRP/NP+uUwVf9BV7zakkFuGWj/y kiCx3TUJ2d8yFH5R+b9KiT10io8xIBA7igsvSIBpsK08lzVyIzrpUnizbupy+2yq7muz AlH3JRDncsUB/UVGRMqPhGM4DLgx9Av9hZrUDtfJt9eMJn2EDTmTzUgx4xISdh4wkIfR x+SgoTKwuGym2xw4nwxonI06NEF7eQ8Hd72cWHp/CAUNfQ95SZlNgodJUMBVz0/bbEll lWtg== X-Gm-Message-State: ALoCoQlgP4sa8Q4RkRB6fFk40g7kX8mQeRKdI4OU8GjelP/eqZr0JaMUzC5OC9A/Y5YTEN/mR8r+ X-Received: by 10.42.84.136 with SMTP id m8mr781221icl.9.1383217777505; Thu, 31 Oct 2013 04:09:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.9 with SMTP id v9ls870646qex.99.gmail; Thu, 31 Oct 2013 04:09:37 -0700 (PDT) X-Received: by 10.58.46.18 with SMTP id r18mr1533711vem.4.1383217777376; Thu, 31 Oct 2013 04:09:37 -0700 (PDT) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx.google.com with ESMTPS id oy1si658668veb.105.2013.10.31.04.09.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Oct 2013 04:09:37 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.42; Received: by mail-vb0-f42.google.com with SMTP id p14so1804160vbm.1 for ; Thu, 31 Oct 2013 04:09:37 -0700 (PDT) X-Received: by 10.58.67.168 with SMTP id o8mr1530315vet.22.1383217777281; Thu, 31 Oct 2013 04:09:37 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp352565vcz; Thu, 31 Oct 2013 04:09:36 -0700 (PDT) X-Received: by 10.66.118.233 with SMTP id kp9mr1234763pab.182.1383217776440; Thu, 31 Oct 2013 04:09:36 -0700 (PDT) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id zl9si1562666pbc.144.2013.10.31.04.09.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Oct 2013 04:09:36 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.220.50; Received: by mail-pa0-f50.google.com with SMTP id fb1so2362375pad.9 for ; Thu, 31 Oct 2013 04:09:36 -0700 (PDT) X-Received: by 10.68.197.104 with SMTP id it8mr2462872pbc.17.1383217775952; Thu, 31 Oct 2013 04:09:35 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id hz10sm3446333pbc.36.2013.10.31.04.09.33 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Oct 2013 04:09:35 -0700 (PDT) From: Tushar Behera To: linux-kernel@vger.kernel.org Cc: patches@linaro.org, linux-mips@linux-mips.org, John Crispin , Ralf Baechle Subject: [PATCH 1/5] MIPS: ralink: Use devm_ioremap_resource Date: Thu, 31 Oct 2013 16:38:03 +0530 Message-Id: <1383217687-12037-2-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383217687-12037-1-git-send-email-tushar.behera@linaro.org> References: <1383217687-12037-1-git-send-email-tushar.behera@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tushar.behera@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Tushar Behera CC: linux-mips@linux-mips.org CC: John Crispin CC: Ralf Baechle --- 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);