Message ID | 20180426223139.16740-10-peda@axentia.se (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 28BCA602DC for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 27 Apr 2018 07:38:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 151802931E for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 27 Apr 2018 07:38:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0937629322; Fri, 27 Apr 2018 07:38:35 +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=-5.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9ABBB2931E for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 27 Apr 2018 07:38:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 59D856E83B; Fri, 27 Apr 2018 07:37:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40113.outbound.protection.outlook.com [40.107.4.113]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5971C6E7BE for <dri-devel@lists.freedesktop.org>; Thu, 26 Apr 2018 22:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sIpBnWTRjYiB/IsumqzVTAhzznUk0Y/ZOtAgOJCZIw8=; b=k5Xo92nOb/h2GUN2Wk3Enu2qRZFVvQdWSurZBTDXrfFepRhXTzB+uY0Ojlwks4FBHEpH29eubDXvgeAIMsUw10cRrbt3cMBdohIqU/zMwdT9UbzAujGzPrBIa0JjhcKG2PuiseNXMR66Oxbx0oBhmxdSu1lnAJdgpVGPlriY6YM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by VI1PR0202MB2782.eurprd02.prod.outlook.com (2603:10a6:800:db::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Thu, 26 Apr 2018 22:32:29 +0000 From: Peter Rosin <peda@axentia.se> To: linux-kernel@vger.kernel.org Subject: [PATCH 09/24] drm/bridge: panel: provide an .owner device Date: Fri, 27 Apr 2018 00:31:24 +0200 Message-Id: <20180426223139.16740-10-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180426223139.16740-1-peda@axentia.se> References: <20180426223139.16740-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR05CA0366.eurprd05.prod.outlook.com (2603:10a6:7:94::25) To VI1PR0202MB2782.eurprd02.prod.outlook.com (2603:10a6:800:db::7) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:VI1PR0202MB2782; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2782; 3:gJBcJI/Je0stoLXpi/qrh/+CioWb4yGLsjfhUGA77qCk7Q/LraESc3pmy30eMmoDD3dHZjplJitiEQNuc71jw7EsgRoC3pPq5obreXn/7C/JR2kH1O3h6gPHog2kQ91DmUFCUq40YY5uwsqLL44/7CZgDcqnBzmesgYWYhj1yRk8axnhxVuWJJd4aYBYEtOKhPA1lG3IYWCk0ctqkP27z7id8f/ZGjSznaEI5W/+CAm0ELzDyz8VnCKWwfs84X3j; 25:Wt6XnJgcV8WAgkbhdbshZ8bCvE2lcxzBzgRQbKPd9THLfgMlMfhQOjlJTtVpGDFDsDRxA/27ztLOQ20ebaxATnnHvsqz1ETxd+o5hNkgFU0yC2q1JDz77dbDood9RdJaHUqqIMox82EWuY5pqp9TdeeEkEtkuCt7lIF6KD4XO0G8qV4wgUaOvTy3CF3a/mJ2XAHNKiHakM57U9rgNBTt+UxYGtJJIuE308LpJx0QQd/nq23ilgy80azHwd+5aVUr7Zx9y4CkUIqLKcFEps2Ramgqvt4uUQcMUnXyklXhVro4+IfoEMAy9Ok/kgf6C5Cbx2KLUkmyCEJ5MWwJ5mR8UQ==; 31:tMtI7+b71piVbVl8GZyJMzYetk+UxjP4zSooBVKxPiy+3HMw4p2utkrs/0kmj5N7kcfpJpoPU0rSSDCGPdxoMwTKA1B5s0cceZG+WDDViP1UQS9E4/g979XLu7UPMhSzl7qWH8uanCjN5ppUcfVR5dOVOaw/pz0y6WFse7T71XIvxR8vmItCLtqeXX6yxCQnK6ZsoN9dgthlfnHOOksGg2KpN8wbyzHjk/2rG9gF7RM= X-MS-TrafficTypeDiagnostic: VI1PR0202MB2782: X-Microsoft-Antispam-PRVS: <VI1PR0202MB27826BF14A9AAE75A649756DBC8E0@VI1PR0202MB2782.eurprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231232)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6041310)(20161123562045)(20161123564045)(20161123560045)(2016111802025)(20161123558120)(6043046)(6072148)(201708071742011); SRVR:VI1PR0202MB2782; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0202MB2782; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2782; 4:Ma+VOHMTrscBGHV+kzqZmukfZ1opun8DoJKIxbw/cNIASg8bhRIDs6v+Bd8Hd0gn6ZLer574pzbnchJPqhuSEVlqL+tEkF031l+EAeV30j/V922E5RyZmuIi15ISbQfHogS7AMjzBhs8j19S4C8UVOCQHxRz/Yu1U+frSaWdnz4uo+yspW2rozkT/RCaifTRqLLyVriPaBJXgwhV1/kU/Y1IsEzIV1OSGvTSg6++0XANZYhPqL/Awrxht1W9V9Rzi9RrdNdpqQWbDBQPAyKZaA== X-Forefront-PRVS: 0654257CF5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(376002)(396003)(346002)(366004)(39380400002)(39840400004)(199004)(189003)(50466002)(186003)(446003)(86362001)(956004)(8676002)(4326008)(476003)(2616005)(54906003)(11346002)(51416003)(53936002)(478600001)(68736007)(97736004)(305945005)(5660300001)(316002)(386003)(52116002)(6512007)(76176011)(26005)(6506007)(486006)(3846002)(6916009)(6116002)(7736002)(6666003)(66066001)(106356001)(2361001)(16586007)(105586002)(81156014)(8936002)(50226002)(47776003)(81166006)(2906002)(16526019)(1076002)(74482002)(6486002)(36756003)(25786009)(2351001)(48376002)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0202MB2782; H:orc.pedanet; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0202MB2782; 23:qwxTxdyXqukkFAhbZkBEGHPUyqYtY2HPs0DoHpb?= =?us-ascii?Q?IDCCQ/KNPXVzGst6LgYUcrDcbPNqdc+S8Lwg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1SvZsoyNKfaWZQdH4kXq2ieFFIhB7RZceCmAXpDiBCRzOykH75nc4ZcStGP1awscNIWJ9g6h0jiohGUyYMqMx24eLgXq8tsZtGFPc+tBCIUH6SuA==; 5:aAHtda3QNqO7YYEI5a2VqlUY4v6+g9Lenns6QoyAQApyTiCtS7m2rosfwqfO/wKmYnKiPm9gsbSm9BD+LOAuGhUFL0Y1p3yC/M4Ku19IuGF8OdyL2+QL/BucI3aCnPCd+OgbpSEKPW+5LKKEyvZpfpBTSiD/+usd402jsPNE3/w=; 24:SNs5aQdu2aXcjhW+Err5MBRKXJ3Ge+gF+awuv4i2mZFsPRop0I0vEn4gT04aqpy5Kg1IEz0AdwP39yLPVfYR53RxOOy5EMnwadFqsfhYehU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2782; 7:lGyqBc/iCS9iqZ7h4tpxvgQgQ9/1/wgNtxeiiS4VZ+nKRNmlntIZFgD/nOOb0Or9hbsxD2mzi8rZdZ+wtg7MI9/l4XZcsxhHeGYlrqNdgWx1KTjzpLNJx3idfSfYerWj1irF8B/cHnVFbmhVXhmsHv6iphWVtRGtPf2vk+JeJm4YlKLTsg16E1VTY1jpM2yuENS6P+ET/hctBhTf2TD7eFVhUTs3sdKHyDfwcC6xknCkdEaoO5fGCycTUXT5CIbo X-MS-Office365-Filtering-Correlation-Id: e7059ba5-2356-4ae5-6452-08d5abc598cc X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2018 22:32:29.6356 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e7059ba5-2356-4ae5-6452-08d5abc598cc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0202MB2782 X-Mailman-Approved-At: Fri, 27 Apr 2018 07:36:56 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, Jyri Sarha <jsarha@ti.com>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Peter Rosin <peda@axentia.se> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c index 6d99d4a3beb3..279271a1d7e7 100644 --- a/drivers/gpu/drm/bridge/panel.c +++ b/drivers/gpu/drm/bridge/panel.c @@ -169,10 +169,8 @@ struct drm_bridge *drm_panel_bridge_add(struct drm_panel *panel, panel_bridge->connector_type = connector_type; panel_bridge->panel = panel; + panel_bridge->bridge.owner = panel->dev; panel_bridge->bridge.funcs = &panel_bridge_bridge_funcs; -#ifdef CONFIG_OF - panel_bridge->bridge.of_node = panel->dev->of_node; -#endif drm_bridge_add(&panel_bridge->bridge);
It gets rid of an #ifdef and the .of_node member is going away. Signed-off-by: Peter Rosin <peda@axentia.se> --- drivers/gpu/drm/bridge/panel.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)