From patchwork Wed Dec 10 15:48:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 5470481 Return-Path: X-Original-To: patchwork-linux-arm@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 DE9849F1CD for ; Wed, 10 Dec 2014 15:57:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F18872012B for ; Wed, 10 Dec 2014 15:57:37 +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 129222011D for ; Wed, 10 Dec 2014 15:57:37 +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 1XyjZF-0004s2-9Q; Wed, 10 Dec 2014 15:52:45 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XyjWC-0000pN-8g for linux-arm-kernel@lists.infradead.org; Wed, 10 Dec 2014 15:49:38 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NGD00GLQISV36A0@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 10 Dec 2014 15:53:19 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-e4-54886b7bbece Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 47.39.07834.B7B68845; Wed, 10 Dec 2014 15:49:15 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NGD00L5CIL48260@eusync1.samsung.com>; Wed, 10 Dec 2014 15:49:15 +0000 (GMT) From: Andrzej Hajda To: linux-kernel@vger.kernel.org (open list) Subject: [RFC 12/15] drm/exynos/dpi: use common of_graph functions Date: Wed, 10 Dec 2014 16:48:30 +0100 Message-id: <1418226513-14105-13-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1418226513-14105-1-git-send-email-a.hajda@samsung.com> References: <1418226513-14105-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsVy+t/xy7rV2R0hBhd+cVjcWneO1eLAi4Us FlMfPmGzmH8EyL3y9T2bxblXj1gsDvzZwWjRvHg9m8Wk+xNYLC487WGz+Halg8liyp/lTBab Hl9jtdg8/w+jxeVdc9gsZpzfx2Rx+zKvxdojd9ktnk64yGbRuvcIu8XPXfNYHEQ9Wpp72Dye bLrI6LFz1l12j02rOtk87lzbw+axf+4ado/73ceZPDYvqffo27KK0eP4je1MHp83yQVwR3HZ pKTmZJalFunbJXBlXOy/wlpwRa7iyM71zA2M7yW6GDk4JARMJFYc5+ti5AQyxSQu3FvP1sXI xSEksJRR4uTcbUwQTh+TRFf7OUaQKjYBTYm/m2+ygdgiAjoS13u6mUGKmAU2sEusm74PLCEs 4CSx9l4/mM0ioCqx4vYSFhCbV8BFovPcPzaIdXISJ49NZgWxOYHif5/vBVsgJOAssWTbe9YJ jLwLGBlWMYqmliYXFCel5xrqFSfmFpfmpesl5+duYoTExpcdjIuPWR1iFOBgVOLhNVdsDRFi TSwrrsw9xCjBwawkwrswuSNEiDclsbIqtSg/vqg0J7X4ECMTB6dUA2NTxw6FHN1jLftZFl0w 2R7t8vrbBNUCpcSvE2YuPPn4/+asqdNv3zG+LyQZHdrZLFjCPv/NRuF5e1X+vs/XLrj1fFO9 yf1IoeqpbjrXAwScz9l2PVOz2G2sa6LfYnfBSunQgxW1lXY+jDdsDT49vHRn5on4h+V/u9fY PttSuPPd3EtTPv0LOX5NiaU4I9FQi7moOBEA9p5gY2sCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141210_074936_523749_829B9FE2 X-CRM114-Status: GOOD ( 15.07 ) X-Spam-Score: -5.0 (-----) Cc: Alexandre Courbot , "moderated list:ARM/S5P EXYNOS AR..." , Mike Turquette , "open list:DRM PANEL DRIVERS" , "open list:GPIO SUBSYSTEM" , Greg Kroah-Hartman , Linus Walleij , Liam Girdwood , Rob Herring , Kishon Vijay Abraham I , Inki Dae , Andrzej Hajda , "open list:OPEN FIRMWARE AND..." , Thierry Reding , boris.brezillon@free-electrons.com, Mark Brown , Grant Likely , Russell King , "moderated list:ARM/CLKDEV SUPPORT" , Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 The patch removes private of_graph functions and uses common ones. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_drm_dpi.c | 117 +++++++------------------------- 1 file changed, 24 insertions(+), 93 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos/exynos_drm_dpi.c index 37678cf..91a29e1 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dpi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dpi.c @@ -14,6 +14,7 @@ #include #include +#include #include #include