Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp214340rdh; Thu, 23 Nov 2023 01:42:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGXhkHz4EADO6IKG/4Vtv5osiprvPuG+7ppZVkLS1dHuWvPBNioAOkkdjdk05CkPCHMqPw X-Received: by 2002:a17:903:1252:b0:1cc:6d2c:fb59 with SMTP id u18-20020a170903125200b001cc6d2cfb59mr5174620plh.28.1700732531690; Thu, 23 Nov 2023 01:42:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700732531; cv=none; d=google.com; s=arc-20160816; b=N6JlhWezOAwt7rLXvsgIoorL7rJLMbua6wY7IrAsrUYYk2mzvyh9IxhmPs0jVnU402 PPoRS9wKgEi9JcFGtdI9HZoTL+r57zdT2IAIsnhMJsBrPgXZwlPemUIsmPLCGg7x1XfR q+3ekvrF+ZnTtzSaOPcJbsQ6GdtPAwnncDqzNsScRWKUbfbyRLAFV6pMw3+E6LqW+ORI G2Y7hKEzzOU7MNfGKSCHW24/5shQcOKOFMHqUircJTVtKVFvOtLrYoDamF/DZtXvohGD uMklo7+TcXbP0JbFWekuBJkzj9dFdkwlFGaQlxjy1H/8sCXaC6QZigmDmu1Qr4E1edzT OWvg== 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=jkXe0QoGE+tlThXBz0xEA+Tvx0TKZmjc+38hqplAd1o=; fh=IMMcDeXOSUhv40HR2NfbH0ST9HxZ6c7sVSi6sNVs0d0=; b=y4BENZoYrieGJTvRxsOYvko+qrySQBTSA/UToDaDsc2SW5WNhRd6ck/foJxivRXNLL RfTgoyQ1D60FYDKcQkHYgkFmy6cgddGV7hvMp+glpVG+iAzA1+tMQ6CDhfnaPTx2bji4 zH0M4zLghd2C6Z2nZXgm1D6PWc8heRmEB5wrsuzRFuHv3lZ2Oy6CDlkvhZ7LsEHpEMTr PKnmMos7VCNB0zvKglFqO1i/Nr4VH0ZBMCdgED2C65L6zgIEDx5gJcVfVv6Ntt9ZmF/7 o7PSaODUk1Nh+CX+L8LKBFPFFIAedOE7QMMQsBL6VwYklpBnsCs3cZci7zlFHjbvv4Ym dEog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GuLMxXsG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id jw10-20020a170903278a00b001bc434b9d95si795885plb.156.2023.11.23.01.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:42:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GuLMxXsG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 1DB4080765E9; Thu, 23 Nov 2023 01:42:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235306AbjKWJll (ORCPT + 99 others); Thu, 23 Nov 2023 04:41:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234053AbjKWJkz (ORCPT ); Thu, 23 Nov 2023 04:40:55 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0686D40; Thu, 23 Nov 2023 01:40:55 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9ffb5a4f622so85767366b.0; Thu, 23 Nov 2023 01:40:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732454; x=1701337254; 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=jkXe0QoGE+tlThXBz0xEA+Tvx0TKZmjc+38hqplAd1o=; b=GuLMxXsGoVW8n+01SueQcdlKIo/H5UOxqybayr853DB4se2zsuzBN3dHeVt+3/arVu bDQJ3k6swS/CSltIKsttcEr3OXsNOAysdPmQXjaNtrlszgCqzlFEHg1RDJyzduTHhGDt XKeqiE6AmZ5CKl3ja8gUm/QPLBsu2XhkLbxNDloBbk+8E05e1OicB+lOMyVgXTr3w1oA R2lPIDfpzWat9AbvLy52YQ2XMudoewFxgpifk1waC6KL5tjMGP/kpDM1TwJEod6zq/aU v1xPl8Hswv+CtvW0Q2p+9cL8LMG9W181Pn1efwZk4SpvQIJhfY/S/uT8wkSgMIHE7k/B mm/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700732454; x=1701337254; 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=jkXe0QoGE+tlThXBz0xEA+Tvx0TKZmjc+38hqplAd1o=; b=kK2x6ao9UBo5DV4D2pEjUvquwJIcm3aX0vr2/kxACVQdkCOC5JELRzJNC8NjpxN4pw ERlPchdc4n6GIcb0hJG/t00mAqIQfLV3BLDqm/x1lN9AfaK3YqMemwG2YoBKB+U4LUnt Omqv29avDYK/hKnxLzOqb/T3HpwMW2zO+Hx5nFfqhWBi5Rynpze4OWgaqVtIkD9fTHYN pqq92mwey0CjxaKPhNGVTKTccAo/g0FP/2BbOOPD2vbvcqt6hKu0tkotkc6o27REJlUS sb2z/72ZQ+aXSUN/AtzshoCCaeDr5qF5nFlj2Q383vCQvKe0214+fTYbaMhoJpzhTNfF 7bMQ== X-Gm-Message-State: AOJu0YwmZT9w7F/e0vdQl7jnoGKw2BL+gPAGj1n77I8Dw2tjF5I1KWOB 3ko0K2fPlXK4I5uIdeMcjuo= X-Received: by 2002:a17:906:a38f:b0:a01:ae5c:f9b1 with SMTP id k15-20020a170906a38f00b00a01ae5cf9b1mr3755311ejz.40.1700732454188; Thu, 23 Nov 2023 01:40:54 -0800 (PST) Received: from zotac.lan. (dynamic-2a01-0c23-c0f2-3200-2223-08ff-fe18-0310.c23.pool.telefonica.de. [2a01:c23:c0f2:3200:2223:8ff:fe18:310]) by smtp.gmail.com with ESMTPSA id s9-20020a1709066c8900b009e5ce1acb01sm546199ejr.103.2023.11.23.01.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:40:53 -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 v5 11/20] drivers/gpu/drm/bridge/synopsys/dw-hdmi.c: remove I2C_CLASS_DDC support Date: Thu, 23 Nov 2023 10:40:31 +0100 Message-ID: <20231123094040.592-12-hkallweit1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231123094040.592-1-hkallweit1@gmail.com> References: <20231123094040.592-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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 23 Nov 2023 01:42:09 -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. Reviewed-by: Neil Armstrong Acked-by: Thomas Zimmermann 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;