Message ID | 001901ceb364$6da31970$48e94c50$%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@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 410689F1E3 for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:12:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6E87C2022D for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:12:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EC0620204 for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:12:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751462Ab3IQFMA (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Tue, 17 Sep 2013 01:12:00 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:12182 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751739Ab3IQFL7 (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Tue, 17 Sep 2013 01:11:59 -0400 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 <0MT900F5G7RWTNL0@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 17 Sep 2013 14:11:57 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 58.93.17682.B94E7325; Tue, 17 Sep 2013 14:11:56 +0900 (KST) X-AuditID: cbfee68e-b7f756d000004512-87-5237e49bbfa9 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 70.53.05832.B94E7325; Tue, 17 Sep 2013 14:11:55 +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 <0MT90005Z7RVFL80@mmp1.samsung.com>; Tue, 17 Sep 2013 14:11:55 +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 19/19] video: w100fb: use dev_get_platdata() Date: Tue, 17 Sep 2013 14:11:55 +0900 Message-id: <001901ceb364$6da31970$48e94c50$%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: Ac6zYdQuTiueM9xuSEGq26qTfKM1MwAAoqpA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsVy+t8zQ905T8yDDHqXMVpcXniJ1eJE3wdW i3UPXzBZrJ9/i82BxePVhTssHn1bVjF6HL+xncnj8ya5AJYoLpuU1JzMstQifbsErozN95Yx FnSzVbS9CGhgbGHtYuTkkBAwkdj8/y07hC0mceHeerYuRi4OIYFljBJbXrcywRQ9+/+CCSKx iFFiyfzf7BDOL0aJFYvnsIFUsQmoSXz5chhslIiAjsSkRT3MIEXMAo2MEi3dz8H2CQnYSsx+ cZUFxOYUsJPYP2EumC0sYCOxYNMjsBo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/TPpHYyrGiwOMQpwMCrx 8M6QMg8SYk0sK67MPcQowcGsJMIbpgsU4k1JrKxKLcqPLyrNSS0+xJgM9OhEZinR5HxgQsor iTc0NjEzsjQyszAyMTcnTVhJnPdgq3WgkEB6YklqdmpqQWoRzBYmDk4pYCI7rLY8eeHf/6xM hgoWZ9+aZjUc2vYgZ1nMfT7XeaInWS0MjDb3Hg1bM8E3XN36g++z/zvVihWqFmb38p8NmHhd R/tjQ2BzrGz+zy9cCaf/HE8rkpXddadEuOGJlJOG31UufwWuV26vH4l1rbx/yn5mn5dqWNv8 W9tLPBpf2ZpqHKi9fncqgxJLcUaioRZzUXEiACSaFKM+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/w100fb.c b/drivers/video/w100fb.c index 7a299e95..2a0437a 100644 --- a/drivers/video/w100fb.c +++ b/drivers/video/w100fb.c @@ -680,7 +680,7 @@ int w100fb_probe(struct platform_device *pdev) par = info->par; platform_set_drvdata(pdev, info); - inf = pdev->dev.platform_data; + inf = dev_get_platdata(&pdev->dev); par->chip_id = chip_id; par->mach = inf; par->fastpll_mode = 0;
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/w100fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)