Message ID | 000f01ceb363$4e389bb0$eaa9d310$%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 4D92EBFF05 for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:03:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D16820250 for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:03:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A1172022D for <patchwork-linux-fbdev@patchwork.kernel.org>; Tue, 17 Sep 2013 05:03:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751691Ab3IQFDz (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Tue, 17 Sep 2013 01:03:55 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:59501 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751648Ab3IQFDz (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Tue, 17 Sep 2013 01:03:55 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MT900E4Z7BQ32N0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 17 Sep 2013 14:03:54 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 4C.6B.30629.AB2E7325; Tue, 17 Sep 2013 14:03:54 +0900 (KST) X-AuditID: cbfee68d-b7fe86d0000077a5-f3-5237e2baacf6 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5B.51.05832.9B2E7325; Tue, 17 Sep 2013 14:03:54 +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 <0MT9000C67EHY520@mmp1.samsung.com>; Tue, 17 Sep 2013 14:03:53 +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>, 'Russell King' <linux@arm.linux.org.uk> References: <000401ceb361$d84c4600$88e4d200$%han@samsung.com> In-reply-to: <000401ceb361$d84c4600$88e4d200$%han@samsung.com> Subject: [PATCH 10/19] video: amba-clcd: use dev_get_platdata() Date: Tue, 17 Sep 2013 14:03:53 +0900 Message-id: <000f01ceb363$4e389bb0$eaa9d310$%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: Ac6zYdQuTiueM9xuSEGq26qTfKM1MwAAWP+Q Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOIsWRmVeSWpSXmKPExsVy+t8zQ91dj8yDDBZdZLG4vPASq8WJvg+s Frcv81qse/iCyWL9/FtsDqweLc09bB6vLtxh8ejbsorR4/iN7UwenzfJBbBGcdmkpOZklqUW 6dslcGW0vXzCWrCNraLh/2PGBsbVrF2MnBwSAiYSr/cfYoawxSQu3FvPBmILCSxjlPjyTgim 5vO360A1XEDxRYwS0+9fZoRwfjFKHJ7axghSxSagJvHly2F2EFtEQEdi0qIesA5mgT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eMERqFZSCbNQjJpFpJJs5C0LGBkWcUomlqQXFCclJ5rpFecmFtcmpeul5yfu4kRnAieSe9g XNVgcYhRgINRiYd3hpR5kBBrYllxZe4hRgkOZiUR3jBdoBBvSmJlVWpRfnxRaU5q8SHGZKBH JzJLiSbnA5NUXkm8obGJmZGlkZmFkYm5OWnCSuK8B1utA4UE0hNLUrNTUwtSi2C2MHFwSjUw xmce2/vk9OSjkx4n+sXEbLR/6fesWU1c7MXmyxe2NBdLnP/Vrmy1ejPHJK4Gr/zFXJLntfxK t3qqTj8XmZ38cp8ug0lNx9quw99f70pxWt85zUjJ9BlvdNedjb5PTKbZ/pSJZHE7u+Xwnyeb rrNcfeRxfJuqiYF21TuLY/yX15v1rn39+c8KHyWW4oxEQy3mouJEAEwUbz1IAwAA 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/amba-clcd.c b/drivers/video/amba-clcd.c index 0a2cce7..b7aa68b 100644 --- a/drivers/video/amba-clcd.c +++ b/drivers/video/amba-clcd.c @@ -544,7 +544,7 @@ static int clcdfb_register(struct clcd_fb *fb) static int clcdfb_probe(struct amba_device *dev, const struct amba_id *id) { - struct clcd_board *board = dev->dev.platform_data; + struct clcd_board *board = dev_get_platdata(&dev->dev); struct clcd_fb *fb; int ret;
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/amba-clcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)