Message ID | 001201ceb363$e9b28c90$bd17a5b0$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fbdev-owner@kernel.org> X-Original-To: patchwork-linux-fbdev@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 C2330BFF05 for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:08:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F36722022D for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:08:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 02354201B9 for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:08:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751531Ab3IQFIQ (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Tue, 17 Sep 2013 01:08:16 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:56112 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349Ab3IQFIP (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Tue, 17 Sep 2013 01:08:15 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MT900C137IZDN30@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 17 Sep 2013 14:08:14 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 01.F1.17682.EB3E7325; Tue, 17 Sep 2013 14:08:14 +0900 (KST) X-AuditID: cbfee68e-b7f756d000004512-79-5237e3be26a6 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D9.72.05832.EB3E7325; Tue, 17 Sep 2013 14:08:14 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MT9000KD7LQY530@mmp1.samsung.com>; Tue, 17 Sep 2013 14:08:14 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Tomi Valkeinen' <tomi.valkeinen@ti.com> Cc: 'Jean-Christophe PLAGNIOL-VILLARD' <plagnioj@jcrosoft.com>, linux-fbdev@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com> References: <000401ceb361$d84c4600$88e4d200$%han@samsung.com> In-reply-to: <000401ceb361$d84c4600$88e4d200$%han@samsung.com> Subject: [PATCH 12/19] video: ep93xx-fb: use dev_get_platdata() Date: Tue, 17 Sep 2013 14:08:14 +0900 Message-id: <001201ceb363$e9b28c90$bd17a5b0$%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: Ac6zYdQuTiueM9xuSEGq26qTfKM1MwAAfoCw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsVy+t8zA919j82DDBau1rG4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBmLX79n KfjIVvFpZw9bA+Mz1i5GTg4JAROJNfMmsEHYYhIX7q0Hsrk4hASWMUo0HzjCDFO0ZVs/K0Ri EaPE0kUbmUASQgK/GCWuTogDsdkE1CS+fDnMDmKLCOhITFrUwwzSwCzQyCjR0v2cFaLBVmL2 i6ssIDangJ3E/glzwWxhAXuJcweug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gqP+mfQOxlUNFocYBTgYlXh4 Z0iZBwmxJpYVV+YeYpTgYFYS4Q3TBQrxpiRWVqUW5ccXleakFh9iTAZ6dCKzlGhyPjAh5ZXE GxqbmBlZGplZGJmYm5MmrCTOe7DVOlBIID2xJDU7NbUgtQhmCxMHp1QDY9Hz/jtLmVqcfR2n F/2cP3Ohd5K8jLXz1McOvYfC8iaZTbYt2iYnJJoVev6Jjb/4Nm7d6/xvwyWeS1+8b8696vju j3PnplwrmrEkeIuc+eLUVc7e8xae+tbVGCu/SLmqI+k2f5A3j49Zzqstc2+e/rnuxOcAZb/5 ey0Nvh+oz/j+WulFybPvjUosxRmJhlrMRcWJAHmcLJE+AwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fbdev.vger.kernel.org> X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.6 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 |
diff --git a/drivers/video/ep93xx-fb.c b/drivers/video/ep93xx-fb.c index 28a837d..35a0f53 100644 --- a/drivers/video/ep93xx-fb.c +++ b/drivers/video/ep93xx-fb.c @@ -487,7 +487,7 @@ static void ep93xxfb_dealloc_videomem(struct fb_info *info) static int ep93xxfb_probe(struct platform_device *pdev) { - struct ep93xxfb_mach_info *mach_info = pdev->dev.platform_data; + struct ep93xxfb_mach_info *mach_info = dev_get_platdata(&pdev->dev); struct fb_info *info; struct ep93xx_fbi *fbi; struct resource *res;
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. This is a cosmetic change to make the code simpler and enhance the readability. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/video/ep93xx-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)