Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1590134rdb; Sun, 19 Nov 2023 02:16:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IFrDzishYma/15mtEt5/NdHH8d9BzWiy/d2hJV4oHUI2TmEnXIpZAcnFymR97uDW9n6F2HE X-Received: by 2002:a05:6a00:399e:b0:6bd:66ce:21d4 with SMTP id fi30-20020a056a00399e00b006bd66ce21d4mr3398140pfb.23.1700389002083; Sun, 19 Nov 2023 02:16:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700389002; cv=none; d=google.com; s=arc-20160816; b=H5+8xJI7eOVZuk0A2B/FjLL5IUgeSskuZZbeaG5pVVcuTaeWGEAgYYBRaB6KsrMNj9 UGJh9+iNABtZhm+mVFGT7Ql/DHdsuy+27dI4YX5GiyV29Tdnsj4f9Rh+1bY7p/MFHAAn JmvHcnlVjU82jPXGR3I4MqxUgzYzBJ85eiQrMpkaf8F2znmvMa5R25j9stz7qUIwdWxx 20LGWvgczg3gEUSdp3G3kv602tm2mZrRSj0ZTUwaNs6tSf0M36yMpvLaFMEYpzX5kN5g Inw04HE+WSUISvrpSKm0iJxL+uRghqxhVmueUXG54paLneeoCdKQtqTE95aRD0IeCD6p /8VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=x0UShpfjCPfBIWng5J4/pQaeext1SYGd0ovoJY2VHzk=; fh=IMMcDeXOSUhv40HR2NfbH0ST9HxZ6c7sVSi6sNVs0d0=; b=f0dA6gtpa4TaXjiWNpecW4M6BI+TJRJLQEvQqQrWr3+mpXbKrcCTgVsSdkmJem04R6 G9MRXwhoE60EHfHnBWVte40qPE2Z3qBu7DPtuHnfUUZDVf9V0LXihrQpcY8AriaEjKse 8trEHReNR2jpHXoFQfMDVZmcQ5NF3lgx5E4onCxNRvnW4ZICaRB0HyxOKk/4tIWV8GQ+ SBSAYnz9htmcEmGbKv3zjOnmEfHMyEf7UIigHSMVF5zk2U+0c87szKaL9BxgrgzDlc8X iwX2TgkokaONOVMdQlB0I5qrWcHAX5HAZm2hHD/p9cVb9Vgy+fBMTiUEnLFJGurpgTDe gr6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Nm7Hoh/y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id 143-20020a630095000000b005bdf596397bsi5887796pga.732.2023.11.19.02.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:16:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Nm7Hoh/y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5F1978057DAB; Sun, 19 Nov 2023 02:16:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230478AbjKSKP2 (ORCPT + 99 others); Sun, 19 Nov 2023 05:15:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230471AbjKSKPF (ORCPT ); Sun, 19 Nov 2023 05:15:05 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED062192; Sun, 19 Nov 2023 02:15:00 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9e4675c7a5fso461719866b.0; Sun, 19 Nov 2023 02:15:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700388899; x=1700993699; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=x0UShpfjCPfBIWng5J4/pQaeext1SYGd0ovoJY2VHzk=; b=Nm7Hoh/yf/lC6M5JGYYHUfsdTiTAHCHxZhicVBWBDd2WnQ8jm6HKgxgahVosErjXiQ A0SHaEjh1dfBinnnBHr8N0r4gqOc6N3JqE/mul7GaqdhgOSmcQow6C4ke1QY9mGlde72 tE+tvwJ2z4yfuNouRPHW5ix8w0htv1AsiG0aeVUgBrFP7NTgbVV5IFKNxr1p7yGo/eZQ PPzZ6AvpHOhmYRLG377oqkEakMFK7LXbD7EjzFGUBMDIEbBpH8YnNxAvMI/aV2QYhDGl 2g2JLvm8Mgg7Hy7DmLeU+hGRxvM1j3EwKUaCezD6/6hlGM9fPOcVP2CRn7zU4VpHHpDN vqnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700388899; x=1700993699; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x0UShpfjCPfBIWng5J4/pQaeext1SYGd0ovoJY2VHzk=; b=iKLHouFLqmdGoshPiXbBCpxShdSYlbKsMuU+l5uWbrQTTs8WBCQSzQ4yYGsIv3oJj6 l+LIJaX1o+whHi1Bvibk983YvfUXpLwHdPsPZAKEqh+B85s1zXoY6WiiIVGIkPAVo4Ae PRayiHRYmzWXou20pV5xBta7m1mrZ7xZ0NgziV76uVt96eYpMDG8Hu5vd3knCE2pDk0k injBU0fg+qwOoYlRzMi3wj9G9zFJeTknTZnSEPUjbTBa8hjPoSTKb/r/3PK4cWOLe/GJ 1WfAxKJgX1Vb1RJNSr/P2OC1Q5KGSOfB22hB77fZOK600FMBmwM0tbi14GdB9vMJksXR zaqw== X-Gm-Message-State: AOJu0YwwUL7+LEfwtGS3K/Kurg8ULbmkGerVjEENF78QwsXYVmEZjf/v kpSoSnC4PrWcKIYO1wYNpEY= X-Received: by 2002:a17:907:c018:b0:9bd:bbc1:1c5f with SMTP id ss24-20020a170907c01800b009bdbbc11c5fmr3589383ejc.35.1700388899176; Sun, 19 Nov 2023 02:14:59 -0800 (PST) Received: from zotac.lan. (dynamic-2a01-0c23-bde4-3e00-2223-08ff-fe18-0310.c23.pool.telefonica.de. [2a01:c23:bde4:3e00:2223:8ff:fe18:310]) by smtp.gmail.com with ESMTPSA id p20-20020a17090628d400b009928b4e3b9fsm2743581ejd.114.2023.11.19.02.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:14:58 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Andrzej Hajda Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 11/20] drivers/gpu/drm/bridge/synopsys/dw-hdmi.c: remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 11:14:36 +0100 Message-ID: <20231119101445.4737-12-hkallweit1@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231119101445.4737-1-hkallweit1@gmail.com> References: <20231119101445.4737-1-hkallweit1@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 19 Nov 2023 02:16:16 -0800 (PST) After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series should be applied via the i2c tree. Signed-off-by: Heiner Kallweit --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 52d91a0df..aca5bb086 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -515,7 +515,6 @@ static struct i2c_adapter *dw_hdmi_i2c_adapter(struct dw_hdmi *hdmi) init_completion(&i2c->cmp); adap = &i2c->adap; - adap->class = I2C_CLASS_DDC; adap->owner = THIS_MODULE; adap->dev.parent = hdmi->dev; adap->algo = &dw_hdmi_algorithm;