From patchwork Thu Apr 3 00:09:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3931071 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A5A6C9F357 for ; Thu, 3 Apr 2014 00:10:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DC1BF20211 for ; Thu, 3 Apr 2014 00:10:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 80F1F2026D for ; Thu, 3 Apr 2014 00:10:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161086AbaDCAJy (ORCPT ); Wed, 2 Apr 2014 20:09:54 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:65048 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161049AbaDCAJw (ORCPT ); Wed, 2 Apr 2014 20:09:52 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3F009C8HSE1S80@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 03 Apr 2014 09:09:50 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id D7.BE.12635.DC6AC335; Thu, 03 Apr 2014 09:09:49 +0900 (KST) X-AuditID: cbfee68d-b7fcd6d00000315b-03-533ca6cd2762 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 26.1F.28157.DC6AC335; Thu, 03 Apr 2014 09:09:49 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3F009DMHSDMR30@mmp2.samsung.com>; Thu, 03 Apr 2014 09:09:49 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: linux-fbdev@vger.kernel.org, 'Jean-Christophe Plagniol-Villard' , 'Dan Carpenter' , 'Daniel Mack' , 'Jingoo Han' Subject: [PATCH] video: pxa3xx-gcu: use devm_ioremap_resource() Date: Thu, 03 Apr 2014 09:09:48 +0900 Message-id: <001c01cf4ed1$07117630$15346290$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9O0QDJZ8YZ/z2bTumK/gpT+tfNqA== Content-language: ko x-cr-hashedpuzzle: Fu1J H7fH LL8N QBYA XI+u bbfh k4sw mM8F q9H/ wwdi 4G5+ 8XLd AA4PWg== AA6h1A== ABF0VQ== ABHfGw==; 6; ZABhAG4ALgBjAGEAcgBwAGUAbgB0AGUAcgBAAG8AcgBhAGMAbABlAC4AYwBvAG0AOwBqAGcAMQAuAGgAYQBuAEAAcwBhAG0AcwB1AG4AZwAuAGMAbwBtADsAbABpAG4AdQB4AC0AZgBiAGQAZQB2AEAAdgBnAGUAcgAuAGsAZQByAG4AZQBsAC4AbwByAGcAOwBwAGwAYQBnAG4AaQBvAGoAQABqAGMAcgBvAHMAbwBmAHQALgBjAG8AbQA7AHQAbwBtAGkALgB2AGEAbABrAGUAaQBuAGUAbgBAAHQAaQAuAGMAbwBtADsAegBvAG4AcQB1AGUAQABnAG0AYQBpAGwALgBjAG8AbQA=; Sosha1_v1; 7; {73561CDE-613B-4E16-9CA2-5A9A28CAD914}; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAd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EwF72Pug9AIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHKsWRmVeSWpSXmKPExsVy+t9jQd2zy2yCDW6+lLZ4/W86i8XlhZdY LU70fWC1WPfwBZPF+vm32Cw6Z6xncmDz2DnrLrvHqwt3WDw+Pr3F4tG3ZRWjx/Eb25k8Pm+S C2CLamC0yUhNTEktUkjNS85PycxLt1XyDo53jjc1MzDUNbS0MFdSyEvMTbVVcvEJ0HXLzAG6 Q0mhLDGnFCgUkFhcrKRvh2lCaIibrgVMY4Sub0gQXI+RARpIWMeYsey+UMF69ooDL6+zNTAu Z+ti5OSQEDCReHb5LZQtJnHh3nogm4tDSGA6o8T03f1Qzm9Gic4V71lBqtgE1CS+fDnMDmKL COhITFrUwwxiMwtcZpRov+oEYgsL2EvMmfQQKM7BwSKgKnHqhSlImFfAVuLmkp/sELagxI/J 91ggWrUkNm9rYoWw5SU2r3kL1iohoC7x6K8uxCY9iTMHj0JtEpHY9+IdI8hpEgI/WCVm9L9g gnjAVOLV9FnsExiFZiFZMQvJillIVsxCMmsBI8sqRtHUguSC4qT0XCO94sTc4tK8dL3k/NxN jODU8Ex6B+OqBotDjAIcjEo8vJZSNsFCrIllxZW5hxglOJiVRHhVooBCvCmJlVWpRfnxRaU5 qcWHGJOBATCRWUo0OR+YtvJK4g2NTcyMLI3MLIxMzM1JE1YS5z3Yah0oJJCeWJKanZpakFoE s4WJg1OqgVGYzUopfV2a5lfOx0zfFq9uaZiTnu3oEmz/7NpsXu4i9bqli9yfXojI3HOmc5pb 3kepvQEmGi+vFgo/L9mx53f3ww27WmZUrXl6svhXa/6pU6lCi+pfB50one8lo9TzKK3sxYrc 4+fX/5q0uefE5+gV/uI+H7eynWtjX3pmt8jHeXEKH9SkMvYrsRRnJBpqMRcVJwIAJRKa11ED AAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Use devm_ioremap_resource() because devm_request_and_ioremap() is obsoleted by devm_ioremap_resource(). Signed-off-by: Jingoo Han Cc: Daniel Mack Cc: Dan Carpenter --- drivers/video/fbdev/pxa3xx-gcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/pxa3xx-gcu.c b/drivers/video/fbdev/pxa3xx-gcu.c index 417f9a2..dd8bc18 100644 --- a/drivers/video/fbdev/pxa3xx-gcu.c +++ b/drivers/video/fbdev/pxa3xx-gcu.c @@ -612,7 +612,7 @@ static int pxa3xx_gcu_probe(struct platform_device *pdev) /* handle IO resources */ r = platform_get_resource(pdev, IORESOURCE_MEM, 0); - priv->mmio_base = devm_request_and_ioremap(dev, r); + priv->mmio_base = devm_ioremap_resource(dev, r); if (IS_ERR(priv->mmio_base)) { dev_err(dev, "failed to map I/O memory\n"); return PTR_ERR(priv->mmio_base);