Message ID | 000901cf7974$c27ddf30$47799d90$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5F2D2BF90B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 May 2014 06:32:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 74D6E2028D for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 May 2014 06:32:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A273620254 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 May 2014 06:32:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpArq-0007d2-EY; Tue, 27 May 2014 06:28:10 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpAro-0007av-1N for linux-arm-kernel@lists.infradead.org; Tue, 27 May 2014 06:28:09 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N67003PSZA4Z930@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 27 May 2014 15:27:40 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 77.E9.19452.C5034835; Tue, 27 May 2014 15:27:40 +0900 (KST) X-AuditID: cbfee68e-b7fb96d000004bfc-29-5384305c57bf Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 6F.37.07139.C5034835; Tue, 27 May 2014 15:27:40 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N6700LULZA4PY70@mmp1.samsung.com>; Tue, 27 May 2014 15:27:40 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Arnd Bergmann' <arnd@arndb.de> Subject: [PATCH] bus: brcmstb_gisb: Use devm_ioremap_resource() Date: Tue, 27 May 2014 15:27:40 +0900 Message-id: <000901cf7974$c27ddf30$47799d90$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac95dMJNIahrIjPeS3GSI5bQmrGcPg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsVy+t8zY90Yg5Zgg85/ahZ/Jx1jt/j17gi7 xeWFl1gtNj2+xurA4vH71yRGj52z7rJ7bF5S79G3ZRVjAEsUl01Kak5mWWqRvl0CV8bh6WsZ C3rZK/Y97GZvYOxg62Lk5JAQMJG4MGUyM4QtJnHh3nqgOBeHkMAyRoldZ24ywxSd2PyIFcQW EljEKNFz0wei6DejxJ4Dx8EmsQmoSXz5cpgdxBYRUJY4/vIOC4jNLFApsb2pkwnEFhawl/jx /x5YDYuAqsS6zvVgC3gFbCX6rn6EsgUlfky+B9WrJbF+53EmCFteYvOat0A1HEAHqUs8+qsL sUpPYlZTFytEiYjEvhfvGEFukxBYxy7xavUmZohdAhLfJh9igeiVldh0AOovSYmDK26wTGAU m4Vk8ywkm2ch2TwLyYoFjCyrGEVTC5ILipPSi4z0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5JmGze7/avadkSnp4dBkjWvKTtIuvpm27PgjJ/d7pt1cvtsMpTZt2hKx8dXNSzeOpN+8XnUq nmFayt5ba2+9nDCDc922e5uanRcJ6ZUJeiyJ/fy34Et5dbm32Y/+jDx+r8NGtZlLlFiKMxIN tZiLihMBLvCUoSUDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140526_232808_257069_88F5256E X-CRM114-Status: UNSURE ( 8.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: 'Jingoo Han' <jg1.han@samsung.com>, 'Florian Fainelli' <f.fainelli@gmail.com>, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/bus/brcmstb_gisb.c b/drivers/bus/brcmstb_gisb.c index 6159b77..f2cd6a2d 100644 --- a/drivers/bus/brcmstb_gisb.c +++ b/drivers/bus/brcmstb_gisb.c @@ -212,9 +212,9 @@ static int brcmstb_gisb_arb_probe(struct platform_device *pdev) mutex_init(&gdev->lock); INIT_LIST_HEAD(&gdev->next); - gdev->base = devm_request_and_ioremap(&pdev->dev, r); - if (!gdev->base) - return -ENOMEM; + gdev->base = devm_ioremap_resource(&pdev->dev, r); + if (IS_ERR(gdev->base)) + return PTR_ERR(gdev->base); err = devm_request_irq(&pdev->dev, timeout_irq, brcmstb_gisb_timeout_handler, 0, pdev->name,
Use devm_ioremap_resource() because devm_request_and_ioremap() is obsoleted by devm_ioremap_resource(). Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/bus/brcmstb_gisb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)