From patchwork Fri May 4 13:52:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10380545 Return-Path: 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 79FA96038F for ; Fri, 4 May 2018 13:56:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 594762944D for ; Fri, 4 May 2018 13:56:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D4DF29455; Fri, 4 May 2018 13:56:25 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A371D29453 for ; Fri, 4 May 2018 13:56:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ycNnxjq3IWOqhsCwtWh4eMhoelO2J6tFqxozXApsF/w=; b=ZjuoKxdCrzyMTr DhZVy5VWa7qkZQ0jxuOV6tIY2EKkWYwE+zGzTie+VSJhVheZwq9OQXbJW/JS4HFvxuYAcpKx/vM1x bOBf8VG0R/4JVLR2S/5P1gqDcKRsSUGQYAZxjaVHDa7gZFh8tL6rcbe72UwMtwWcQkxOIyWKqKGfq 2u++VSIN4XzqmB52XMQQ2mSdIyQkw7HWBXkMExQD3xGOGqDy1QvS7DWFrQkZMCwNFEVQU7OowcQtG fcgFV9DhDt32xOMnDaEC+Vc9mSTj0Dqn/6vuS0Y0FjD/vSfSBNjF0vsbkQU3SkD1w/jyhGDQaDvhJ XQlcyX4Cv8t7KLi5Vx5g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEbC5-0001a7-Kf; Fri, 04 May 2018 13:56:17 +0000 Received: from mail-eopbgr20112.outbound.protection.outlook.com ([40.107.2.112] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEb9p-0007iD-Kn; Fri, 04 May 2018 13:54:14 +0000 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=ojgdfqY34UKqaMu//h0z7KRHV5dGR7FuAQFBr63kbAY=; b=b2QT/TKqpgHVzEyRVnFQ/aqLj3VxETJnxl9VrMl9uuq4b6f8V14ZFL6IXxuIe4tcza7u8nTKv+iNj0+hJQnEHs0gCgcq3jqXoF1wpTwFPsNpMFFMEi2Os6M1t5HKWaq+ovoa7nOqgLHz/QQJSlheOyOHU7CDvUT8EkQ3ENWUPKQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by AM4PR0202MB2769.eurprd02.prod.outlook.com (2603:10a6:200:8c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.735.16; Fri, 4 May 2018 13:53:31 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v2 20/26] drm/mediatek: hdmi: provide an owner .odev device for the bridge Date: Fri, 4 May 2018 15:52:06 +0200 Message-Id: <20180504135212.26977-21-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180504135212.26977-1-peda@axentia.se> References: <20180504135212.26977-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: DB6PR0202CA0039.eurprd02.prod.outlook.com (2603:10a6:4:a5::25) To AM4PR0202MB2769.eurprd02.prod.outlook.com (2603:10a6:200:8c::19) 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:AM4PR0202MB2769; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2769; 3:5EDMWTeYx9WJ70l+0c9EQl5UudPXahPL7ynCfeUTxIGiZl3bTz3w9EOk8SZZGC6661W/m7FBwAEb62cpRunJSCjmJn/6pn3MxY/6SIZNmrpMY5m9Lqc6LLNehEd7EyM2FZfAjbPoqEWs2xKGVPf4U22zHpUSZqjf3cZ4y6j8HBh1BVoyN82drEWVFRb9Be3rDmnKyNu8XQUoYl132iPuSPPZ8HurQfJvcKp4xR3dYah2NhTc4Nwq+8/FAnNx6dUP; 25:2juHbijCULb9tgpEqqybCyzppZvWRGdp7IQjQbM2oNhM62kUq+hZyJTYtaRcz1N9vPsE9tP+n9/8F64d9ePCNycnJhowPCdEK0dqrDX1oTAms85SgCfJc57sGTYVRKPs967sqOZm/8ErIUkQ38cRxeJFp0svym6J2apjKZYUF3Vlbqc0NhDow5spcc9pKB7F+/AkdQkEkRjyAk24dorQpZJrLa2Qvq5tsQzrQwYyLp9eR+vZSIVRxVD/PUVUs6pX1UziJEs96pptl0gk+K/Up2iW0x56qIpmgU8Xbq0YKVXCNQT4kbVqM0vyilRnhi2XW1PxYRoyLlqdRhG7f2P4FA==; 31:I58uXhqsoq57loZJYJosKMzyQcsLyqoKzmL5uUHr9gnyCvTrpxoLacAiBa9k2lJlGCnjRZMaPtaAvG0kmctU3IPT09VCD4b7BDqqsKFwAPWEpmRMT9G5NJJ/BHjFxFAYUInXSmQqQ2Bnb1IEdkJtpdJa+X9x4zgnOjWlWRnbXCILrVgeOfcdwpsTy5gwb5GnhZ6T3x5mwRjnXDIyeqWd4I02pql5iW9Rhzh0iMHL1G8= X-MS-TrafficTypeDiagnostic: AM4PR0202MB2769: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(6041310)(2016111802025)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6043046)(6072148)(201708071742011); SRVR:AM4PR0202MB2769; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0202MB2769; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2769; 4:ye758eqSxjP/+MKdkzTm6xynEBV8Jlmq0KPjW2W45sCrkX1K6v4ZbA0YaKVkjFY/s+eX9cXkPkUNhuJW1GYfVe1FHwkaV4dXQJHGKpZp8YHlBuTpIboMoLBUQLM7tRE0QyEWqYa+t7lHFxp4i0n3eDeq6JmEtKkszZoqvb+JV3rTPh40hdtlZOxiafKiJoRSK3ghTd/TGi52rVXSHgc9ahm+gamE4P5UoQ5z+R+lDYO/iARMe7FGmqj1NRVIqLpNbQZNoZNL7kGoX2o4Nj6OZA== X-Forefront-PRVS: 06628F7CA4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(366004)(39840400004)(39380400002)(376002)(346002)(396003)(199004)(189003)(52116002)(386003)(50466002)(305945005)(6506007)(54906003)(74482002)(316002)(68736007)(5660300001)(16586007)(6666003)(50226002)(7736002)(8936002)(81166006)(8676002)(97736004)(6916009)(1076002)(48376002)(2906002)(2351001)(2361001)(16526019)(81156014)(39060400002)(76176011)(4326008)(86362001)(6486002)(6116002)(3846002)(53936002)(106356001)(478600001)(11346002)(575784001)(486006)(446003)(36756003)(25786009)(51416003)(476003)(956004)(105586002)(2616005)(7416002)(66066001)(6512007)(59450400001)(186003)(26005)(47776003)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0202MB2769; 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; AM4PR0202MB2769; 23:XEyBnxdpER6Uy0pzaJoXgMDkgOEZQ8LylorGRdS?= =?us-ascii?Q?VLQ5pk3TLEtG8hMVz9Pa3r88TA9K+jHU5vZ8awWg6Sg9oa9Uz1a4ElMiq9BE?= =?us-ascii?Q?7YsUj9gPw1sPg5VaSfCsyhyGazem6pGpRZB7faG9e9zoQZJSj2qAWRbpiGKL?= =?us-ascii?Q?xMbHjtvgSDRQBJuQztJQm0s9uJr63vWTAdzDWICLCAIs+1c2pkgqou2ti+Fj?= =?us-ascii?Q?x//BBisOMbAnIeUBrKr100KP7hG21u/gA0detRldQ4/btC1GC1tHJGbAY6tY?= =?us-ascii?Q?U8zH3Tos2tPQ3eOYNGJ/9ep9xGUAE4Uai7hTKb3kNGVfi422qo0s44T9aRRM?= =?us-ascii?Q?BDOiVJd4HtZcUZG5xwwsbY8aKS458Ay5Hn+BpyrJihC5M2OIZIphzxLJFGga?= =?us-ascii?Q?7razPYLp2vC6Bi1tlxXFpD/ErzWuQ5yJnDnUeTAtVPpSBdhh9zgYyYx5hoqQ?= =?us-ascii?Q?nDV5cfFjcOpsaPkVMJ0FuMgrW7bBAGTgzSHUjDooEsCDtNCkKDZkF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fC8xGiAy2rR2A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2769; 7:KVfpyracz/lZIIcwvLgAGJNjx1UeDy5v8FX1ehugJAToJkaIwAlEmC0eQzk22lUfVdcMZzeYNZCot/4YHBGK5y1fEk3cajnsqJcS9cOtST2DE9AkqnYFZYON4n8GC2ucTA6UPgIETeUm1OxfcEKgJOhbhICSdFq34SjWNAGrXt24ZHWw690RWNXEnigZ9LgGaziydS7NRfhwZ+FL1DripLTQQXv7rw52oUcz6+7ICcHHkG6W1WePvb4LENMIRHdU X-MS-Office365-Filtering-Correlation-Id: 5b2f9084-0f2b-405e-db40-08d5b1c66c69 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2018 13:53:31.2441 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5b2f9084-0f2b-405e-db40-08d5b1c66c69 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0202MB2769 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180504_065357_752393_957F5088 X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, Matthias Brugger , linux-mediatek@lists.infradead.org, Jyri Sarha , Philipp Zabel , CK Hu , Peter Rosin , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 59a11026dceb..d8c7d93d0a87 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c @@ -1694,8 +1694,8 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev) mtk_hdmi_register_audio_driver(dev); + hdmi->bridge.odev = &pdev->dev; hdmi->bridge.funcs = &mtk_hdmi_bridge_funcs; - hdmi->bridge.of_node = pdev->dev.of_node; drm_bridge_add(&hdmi->bridge); ret = mtk_hdmi_clk_enable_audio(hdmi);