Message ID | 20191224173408.25624-20-mihail.atanassov@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=gZkt=2P=lists.freedesktop.org=dri-devel-bounces@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 36C3C1395 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 25 Dec 2019 10:19:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 101E82073B for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 25 Dec 2019 10:19:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="vrmpy9rj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="vrmpy9rj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 101E82073B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D4F4189E36; Wed, 25 Dec 2019 10:19:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60057.outbound.protection.outlook.com [40.107.6.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id B8AA86E359 for <dri-devel@lists.freedesktop.org>; Tue, 24 Dec 2019 17:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/4Fbeyxa4xk1mtIQf01xWGzMfySjhoIiCQk9dUa48Ak=; b=vrmpy9rjq7gbhax22znLTNWddQ1zQ9HtBGWtkFEr6oUzeB2BO9oyIVFD4hFv6gdatmKv0SZbw3zLkHsUCFy7X3oDgT8ZiyfG2W93eNGTlRT9f2Y10odB7Fp7cdqwtPSaM8NSGYhwmZMeP3zh5//4T8ecwAidyQWEIS52i7epeqg= Received: from VI1PR08CA0220.eurprd08.prod.outlook.com (2603:10a6:802:15::29) by DB6PR0801MB1816.eurprd08.prod.outlook.com (2603:10a6:4:3c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11; Tue, 24 Dec 2019 17:34:50 +0000 Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) by VI1PR08CA0220.outlook.office365.com (2603:10a6:802:15::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:49 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:49 +0000 Received: ("Tessian outbound 1da651c29646:v40"); Tue, 24 Dec 2019 17:34:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 666611e05d6633df X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DEE49349-58AC-40D8-A225-A0875AD6EF92.1; Tue, 24 Dec 2019 17:34:44 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rr3+mnWJIQVh1AtC5+PQqOMHZsEWbbsSe7J0+MUuTEDtEZET/LDmdAop/p689EQK6e13BkN7o6nu+egGKnHvJQMDSB+EeWLCJkFT9Hr9Wnn+IvRmJD0LIOCtecoDt9xhkyMeqSO0AqS//ksH6CwqshiuKX951LIs2CY99ixU13cge0MyRrgeH/cZr/uIcLfe7JITGUjA81TD/8dxFy68SBitARheL16dhp1cJlZTP7I9yzoJ5hTWdgvxWxQHOEyvgE+2PdkaYA0ZxFCDLbj9NaAhQG8zN5Khs+as1BxCn65hPmUbnbmLtzqzeJGiBPWUbFWfVqEusYRvy9B6eAab6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/4Fbeyxa4xk1mtIQf01xWGzMfySjhoIiCQk9dUa48Ak=; b=GMYE6sDHUOXZAbJfmpiAerTRXGI+PlpO0jKcFmvGVViMZrEDOXftd6otnJ2es/mmPnnIqTiPXGVKnZwK/3jzLW8uQ+rgn93EjG7zZYg9EjP5AzSvY94PXkBrNt8LeLwfJMuXusVoFahbKOGRNHhKksoTjw2yoeOJD/Y7eu0Hcwgq4Cz1CtGzqkcMPrF7iJ11nMPSk3DJBuPzUvE5jKozUIm6P8D9fkLRRtw9au1WlaG0a8Al/lnjBtDHLUsGAAa+ZrJBkQtcGRCwfcyY+ciaHQiPNltAP/j9c80rSYZCF3Y50o6viWJ7yoy1awDrxboTsGpZhERQoIUcxm+1CGk5UQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/4Fbeyxa4xk1mtIQf01xWGzMfySjhoIiCQk9dUa48Ak=; b=vrmpy9rjq7gbhax22znLTNWddQ1zQ9HtBGWtkFEr6oUzeB2BO9oyIVFD4hFv6gdatmKv0SZbw3zLkHsUCFy7X3oDgT8ZiyfG2W93eNGTlRT9f2Y10odB7Fp7cdqwtPSaM8NSGYhwmZMeP3zh5//4T8ecwAidyQWEIS52i7epeqg= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:39 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:39 +0000 From: Mihail Atanassov <Mihail.Atanassov@arm.com> To: "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org> Subject: [PATCH v3 19/35] drm/bridge: sii902x: Use drm_bridge_init() Thread-Topic: [PATCH v3 19/35] drm/bridge: sii902x: Use drm_bridge_init() Thread-Index: AQHVuoBq8VaaLiR3k0KgAe5FATOv1w== Date: Tue, 24 Dec 2019 17:34:38 +0000 Message-ID: <20191224173408.25624-20-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7b657232-a77c-485d-8519-08d7889793b1 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DB6PR0801MB1816: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: <DB6PR0801MB181644D0180C0F84AA4B7DEF8F290@DB6PR0801MB1816.eurprd08.prod.outlook.com> x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: fjANJfh4qqnsFszmQ/eoj61fWnRQEHJ/Hug+FzbvnvMy7+vTiU+Ih+KD9FdnKD7VxnH0FLz1YVJQxyJRrZBl5XloQydgAUhBzrZ5iE+Hyo+zxRGKCTzWLC/JuCTmgkx3Rl9OwSt5qmQrJlWhMrjO1XOM29JJ4UvkQ63gVhy9xezhhY2jlGtIKAHm45KZuL/VrF+nL1VXic6rCae5vSHQKHpzGyzsaGHUHpskEH/gx2RcaCv+jCBQ+DnON2d42xgjRSwpIucFZGoK1mJ89RsUMnKSfVmvKFNeGfFwamqrKGtpwXAjQWKzIMPA720FxUm0pZM3rpadY1gbh96kSAAy0NTv/ecQIgjf3yAq5RT/lFJBTQRwahsqU2LxL9x1OmW3CmZ0OkxbZL+uNMYVkyeM2tiqgm9kAfIHfjS+VRr8ae2kpv9J7f1Hz/oxpYkv0QQQ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(39860400002)(376002)(396003)(136003)(189003)(199004)(186003)(6916009)(86362001)(2616005)(6512007)(1076003)(336012)(70206006)(4744005)(36906005)(316002)(76130400001)(356004)(5660300002)(26005)(4326008)(2906002)(478600001)(8676002)(81166006)(8936002)(81156014)(6486002)(70586007)(54906003)(26826003)(6506007)(107886003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB1816; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 537341a3-aca3-4a6d-5b9b-08d788978d27 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ihj6vCXLzWASi/Kg/P9JyReT1jleWEA9Tqr8ACQxG3waNfr8yZTb8iHRces+9cz1AUHYMccaOIDomQh2M1aepVsq9/9JC+3zdoHi1w3jBkymL5yWUY7Dz90oli7QZT9UnWoasFswCIs9IddRB3gblUSCBOCpSfO+PK5PSR4v0kb7Yru2MDcVolyeviaf8yIShOl33OcWSg61ZHn6mLjsGxIBnwdFW5LBtzXXTpLV7RZu3ygjU+kokM69JX8UWVWoCyAiS8HW1Wr7Tf9O0T5GToPPEXBaPW+cPLD6T/o11npJyrxz6LtFlZAetbZfs1SY86vbjSiMGGqTt9cMQPRk2tpRBwE4p+1HKA65rVMnUVeTcyQZcL7sye3YyoNjtj42L4FQiavOh97xJQoRXnGqMlSWBCpGJjFZ7Rlxu/MIh6OvnQWufTcNGXIAnZzT7w7f X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:49.4937 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b657232-a77c-485d-8519-08d7889793b1 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1816 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 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: Jernej Skrabec <jernej.skrabec@siol.net>, Mihail Atanassov <Mihail.Atanassov@arm.com>, Jonas Karlman <jonas@kwiboo.se>, David Airlie <airlied@linux.ie>, Neil Armstrong <narmstrong@baylibre.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, nd <nd@arm.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
drm/bridge: Consolidate initialization
|
expand
|
diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index 6ca297d78a26..6f454e5ce258 100644 --- a/drivers/gpu/drm/bridge/sii902x.c +++ b/drivers/gpu/drm/bridge/sii902x.c @@ -1017,9 +1017,8 @@ static int sii902x_probe(struct i2c_client *client, return ret; } - sii902x->bridge.funcs = &sii902x_bridge_funcs; - sii902x->bridge.of_node = dev->of_node; - sii902x->bridge.timings = &default_sii902x_timings; + drm_bridge_init(&sii902x->bridge, dev, &sii902x_bridge_funcs, + &default_sii902x_timings); drm_bridge_add(&sii902x->bridge); sii902x_audio_codec_init(sii902x, dev);