Message ID | 20190320130707.25161-12-a.hajda@samsung.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-samsung-soc-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 86D651575 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Wed, 20 Mar 2019 13:07:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C6C329077 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Wed, 20 Mar 2019 13:07:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 605A32838B; Wed, 20 Mar 2019 13:07:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EACB32996A for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Wed, 20 Mar 2019 13:07:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727626AbfCTNHS (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Wed, 20 Mar 2019 09:07:18 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:55162 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727497AbfCTNHS (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Wed, 20 Mar 2019 09:07:18 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190320130717euoutp010e5181f180bb9b6e511b01c07e437403~NrJ0n8h2d0192201922euoutp01f; Wed, 20 Mar 2019 13:07:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190320130717euoutp010e5181f180bb9b6e511b01c07e437403~NrJ0n8h2d0192201922euoutp01f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553087237; bh=qmmEzu6FVJs+Gsjerof7TDemZM9DzvAQr1WXPMY40Ec=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=IKV3XYap2hPpLu+LR7DlBQXfoYIOfjUQH3qJRjZAQyEVQyb/vNlxbaq2GIskr4/pP V4MZSw6zWDVFfghiBSTgQphn2WVCWp5T/sm1DZOyOCnACfD/i9CCYsdBJR8Hap5dfH e/BMeJKr+u/ptQ3KGWuolzjy4PTQiGXlU80t+TMc= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190320130717eucas1p1aa83eaa06ca53817675722333cb8c423~NrJ0Oio7m2302523025eucas1p16; Wed, 20 Mar 2019 13:07:17 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id FA.92.04806.40B329C5; Wed, 20 Mar 2019 13:07:16 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190320130716eucas1p2fa37979f7715c411e079d146b96628cb~NrJzqRmQQ1665816658eucas1p2T; Wed, 20 Mar 2019 13:07:16 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-28-5c923b04f335 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A6.AF.04284.40B329C5; Wed, 20 Mar 2019 13:07:16 +0000 (GMT) Received: from AMDC3748.DIGITAL.local ([106.120.43.17]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0POO004P71RZN460@eusync1.samsung.com>; Wed, 20 Mar 2019 13:07:16 +0000 (GMT) From: Andrzej Hajda <a.hajda@samsung.com> To: Inki Dae <inki.dae@samsung.com> Cc: Andrzej Hajda <a.hajda@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Marek Szyprowski <m.szyprowski@samsung.com>, dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org> Subject: [PATCH v2 RESEND 11/24] drm/exynos/vidi: remove encoder_to_vidi helper Date: Wed, 20 Mar 2019 14:06:54 +0100 Message-id: <20190320130707.25161-12-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20190320130707.25161-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsWy7djP87os1pNiDHa9M7G4te4cq8XGGetZ La58fc9mMen+BBaL8+c3sFvMOL+PyWLtkbvsDuwem1Z1snnc7z7O5NG3ZRWjx+dNcgEsUVw2 Kak5mWWpRfp2CVwZfx9GFfzmqJg34QprA+MZ9i5GTg4JAROJzgXngGwuDiGBFYwSE2cdY4Nw PjNK9J7uZoap+nvoB1RiGaPE7RP9rBDOf0aJab8fM4FUsQloSvzdfJMNxBYRUJZYta8dbC6z wG9GienLt4EtFBYIlNj4/wLYWBYBVYl7+7+DNfAKWEqsb25lhVgnL7F6wwGwGk6g+MM5/8EG SQj8ZJXY/Xs71E0uErs+/oKyZSQ6Ow4yQdj1EvdXtDBDNHQwSmzdsBOqyFri8PGLYBuYBfgk Jm2bDhTnAIrzSnS0CUGUeEicerod7CAhgR5GiS2rVCYwSixgZFjFKJ5aWpybnlpsnJdarlec mFtcmpeul5yfu4kRGF+n/x3/uoNx35+kQ4wCHIxKPLwXnk+IEWJNLCuuzD3EK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RootMailID: 20190320130716eucas1p2fa37979f7715c411e079d146b96628cb References: <20190320130707.25161-1-a.hajda@samsung.com> <CGME20190320130716eucas1p2fa37979f7715c411e079d146b96628cb@eucas1p2.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm/exynos: add support for GSCALER planes on Exynos5433
|
expand
|
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 377aae5f7631..2579462aec70 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -52,11 +52,6 @@ struct vidi_context { struct mutex lock; }; -static inline struct vidi_context *encoder_to_vidi(struct drm_encoder *e) -{ - return container_of(e, struct vidi_context, encoder); -} - #define to_vidi(ptr) container_of(ptr, struct vidi_context, ptr) static const char fake_edid_info[] = { @@ -331,7 +326,7 @@ static const struct drm_connector_helper_funcs vidi_connector_helper_funcs = { static int vidi_create_connector(struct drm_encoder *encoder) { - struct vidi_context *ctx = encoder_to_vidi(encoder); + struct vidi_context *ctx = to_vidi(encoder); struct drm_connector *connector = &ctx->connector; int ret;
It can be replaced by recently introduced to_vidi helper. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> --- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)