From patchwork Thu Oct 31 11:08:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 21302 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 08FF220F2F for ; Thu, 31 Oct 2013 11:09:47 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf3969539pab.0 for ; Thu, 31 Oct 2013 04:09:47 -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=DfI/2gW5t161r6ZdVrUdEUI8S8E/4GirGNlJNLKbwkc=; b=GNIHRWuCFdcYUqGcdncLW8Dgxsf82Uw1yAk2sLmWcvQhpVqVgdqr5kAynwp1l411jw 6zvp6ZLnF2SILt5cYIt1YomZB1ljG5Pi9hwP1SmbefXmxEiPtsJ/Gq0UzjhH7P/jUKzz 4rfIB/cJ7JIZt3h36KeG2zNEgs5/3SrApQoGLeTnqUhUKRIWFByicXhF+8vXP9REuXcd ZFz5KDi8SjfUDM6l+Xr4UA9OjGmwExeNtaQGmafjpBxWEtWzy3peCjXkfMZEA27+m0cT EoqeBQ3rtVPl9fL0pSMLusDc+foHVBOF271OGNTPE+MjlUUEl369V/+lVgfH12lPGBVq OI+Q== X-Gm-Message-State: ALoCoQmfnrqx0bEXF6vrHAmJ/jG2EZrZYCzBb8vD+Y+y7b9FNdhUr9hnvOJKlgQD6D9rZ2C4ajm+ X-Received: by 10.66.136.47 with SMTP id px15mr1138718pab.28.1383217787141; Thu, 31 Oct 2013 04:09:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.209 with SMTP id x17ls945780qeu.83.gmail; Thu, 31 Oct 2013 04:09:47 -0700 (PDT) X-Received: by 10.220.105.199 with SMTP id u7mr1459826vco.1.1383217787007; Thu, 31 Oct 2013 04:09:47 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id gu4si655758vdc.111.2013.10.31.04.09.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Oct 2013 04:09:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id db12so1951269veb.37 for ; Thu, 31 Oct 2013 04:09:46 -0700 (PDT) X-Received: by 10.221.44.136 with SMTP id ug8mr1465491vcb.13.1383217786922; Thu, 31 Oct 2013 04:09:46 -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 u4csp352583vcz; Thu, 31 Oct 2013 04:09:46 -0700 (PDT) X-Received: by 10.69.0.201 with SMTP id ba9mr1238513pbd.184.1383217785776; Thu, 31 Oct 2013 04:09:45 -0700 (PDT) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx.google.com with ESMTPS id ar5si1578323pbd.62.2013.10.31.04.09.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Oct 2013 04:09:45 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.172 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.192.172; Received: by mail-pd0-f172.google.com with SMTP id w10so2220302pde.17 for ; Thu, 31 Oct 2013 04:09:45 -0700 (PDT) X-Received: by 10.66.4.105 with SMTP id j9mr1313266paj.84.1383217785374; Thu, 31 Oct 2013 04:09:45 -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.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Oct 2013 04:09:44 -0700 (PDT) From: Tushar Behera To: linux-kernel@vger.kernel.org Cc: patches@linaro.org, linux-watchdog@vger.kernel.org, Wim Van Sebroeck Subject: [PATCH 4/5] watchdog: ralink: Use devm_ioremap_resource Date: Thu, 31 Oct 2013 16:38:06 +0530 Message-Id: <1383217687-12037-5-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.128.178 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-watchdog@vger.kernel.org CC: Wim Van Sebroeck --- drivers/watchdog/rt2880_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/rt2880_wdt.c b/drivers/watchdog/rt2880_wdt.c index a9f8491..53d37fe 100644 --- a/drivers/watchdog/rt2880_wdt.c +++ b/drivers/watchdog/rt2880_wdt.c @@ -144,7 +144,7 @@ static int rt288x_wdt_probe(struct platform_device *pdev) int ret; res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - rt288x_wdt_base = devm_request_and_ioremap(&pdev->dev, res); + rt288x_wdt_base = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(rt288x_wdt_base)) return PTR_ERR(rt288x_wdt_base);