Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1590353rdb; Sun, 19 Nov 2023 02:17:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IES8ac/FkH9G0IvNmjtMZccDt6h9I61bxwkB0zZTlp1A9emlwTD5Iy2ArEkm9sR9WPREcFu X-Received: by 2002:a0d:dd51:0:b0:589:b3c6:95ff with SMTP id g78-20020a0ddd51000000b00589b3c695ffmr4726401ywe.36.1700389042049; Sun, 19 Nov 2023 02:17:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700389042; cv=none; d=google.com; s=arc-20160816; b=tzCHGTBmmUxZ7/rPczWi8eIJSqfhA/QIigbZB03Ig9up8h7+KpAwD8xVCItufcygUb p5SEGVMpe/wGhZiBdrmaR6p2UpzjyMlpt5xMzm+sr8JwWKGHsFY6HC4COOKyZ+AxVVfN IIABW8lqz+je6zPk9Z/XvTWGoA82Ba5JgWLTHe64zfmd+06pM7z1UFNqBd+odEx9mBND /Y/pYSJRmWzGDlTJqL2xbEiWz5bX5v6LoPrtm+sJTDc26lJy7vZsADZnhYhokok5ZBtw ls9GvjIpg8zeqp1X97qthAhqhRskufXxpYbQcZqrZl+Q71KUzEkyhNQ+UoHp86dWDLhH i5Yg== 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=ihe5CWoYwzVYQa0PIBn4FXCZubjqfqZzL14QGGmAy2E=; fh=zWIZqCpdv6T1dzQELUGMlyObGgbaGVAFkzEZp+iv+Yo=; b=mq3Ysdo95EYJIJ/aVULs6DUeXhglCfMA0BYz5tqjlpcPtaxBZ6Xe2DipvHdTZ/zBaR wfakqDeAUb6cvyN78nWHzJYZLdn+QfXdqWfTktrBVqQhh2WDTld3PLJFzsF/aFZnoStH lc9cRw9auHYXKlF/PoMl5uNSneXcOrxW9BJzc1m+kE+FXO5Ca4IrKUyXXsMnY68Ogug1 0EhLW3nkAG47AGI7MWvnXF52/cz3pOf91kGUZx8wm1iAw3rlZMJRWERgdcipqjgJJuny aV57YtONYEZ1IpgtDwhXGNkDW0O6G4BY/6fGF0iBalm/P1UbfVNaUJNNKa60eBh9gu+6 V2rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BDYlLUCh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w65-20020a636244000000b005c1f196f7d8si6229221pgb.787.2023.11.19.02.17.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:17:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BDYlLUCh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 7B83E806665B; Sun, 19 Nov 2023 02:16:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbjKSKPc (ORCPT + 99 others); Sun, 19 Nov 2023 05:15:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230496AbjKSKPK (ORCPT ); Sun, 19 Nov 2023 05:15:10 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3D8BD4B; Sun, 19 Nov 2023 02:15:01 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-9fa45e75ed9so135153466b.1; Sun, 19 Nov 2023 02:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700388900; x=1700993700; 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=ihe5CWoYwzVYQa0PIBn4FXCZubjqfqZzL14QGGmAy2E=; b=BDYlLUChSpufUXvVJtpAVULBjy/sR/4VY+a54t6eNdikWvoFFtQcsNzylwEZoiXQvL cxHU4wC0XYpUgsK/+5IEuiXASelbnWRZPVvW7JP3c3hIaSmHJgJ1Mm6ElzGW+Jwd/mpx FmCBZ+OIvgovl/1cyxyLUpJvGkhXnHTnaBtCsrX5Yr3fyFIQTMc9RfmfpsjoNqaIo7Bx R5XFvmXwNNLK3SKJHMYKGcFbw0wHGuOiYnZACuXtfyX4yChaukB0fvsE9rhYVLHssfuK ASRQ1s9V7phiHmwvjShOdA6cKuBIIm4i9BLwcO0qJ6iZIOPQO8zTueITWYCcs9s/s7Kg sRKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700388900; x=1700993700; 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=ihe5CWoYwzVYQa0PIBn4FXCZubjqfqZzL14QGGmAy2E=; b=vYOim2jVb8G/PeTMpiBI1BK5koHKLcKH40nILlzC3tPx4+INJAbG5NFvi8M5dV4+vj XfIUYiLP3/C/Z02hQKryFYlcbShcruKcZBUCGxOLvHloa1fImtH+/cIQAPMF0TiI/O51 0dKKl7CdXbLvcEyTHOJ8g8V5IOQUAzcCIdbbQBCqgajD0TS40CTU+DdvNh6Tn4AAjsbJ dSWf4gB2x0muH4iYTuWcd/4+NQM5PxCwzsXYxiDcahm0ZB4HlbsEREX6Rga1DkZ5MHz4 FwKTnrQYfLlvDFhvSc8QNqRG7KpHFPQ45pvleJO+08Z+y0e1YVnsfof0gtO8YjzNFVrH 85Zg== X-Gm-Message-State: AOJu0YyMWsUA7usTHgOE6RaUTnsxXzBtCObyF4+SV8YRgG0GERuduI6X WnMC10Tbptlu/qrFxK9nf1Q= X-Received: by 2002:a17:906:221c:b0:9c7:5a14:ecf2 with SMTP id s28-20020a170906221c00b009c75a14ecf2mr3807104ejs.56.1700388900287; Sun, 19 Nov 2023 02:15:00 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:14:59 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Chun-Kuang Hu Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 12/20] drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c: remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 11:14:37 +0100 Message-ID: <20231119101445.4737-13-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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Sun, 19 Nov 2023 02:16:04 -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/mediatek/mtk_hdmi_ddc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c b/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c index d675c954b..54e46e440 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c @@ -297,7 +297,6 @@ static int mtk_hdmi_ddc_probe(struct platform_device *pdev) strscpy(ddc->adap.name, "mediatek-hdmi-ddc", sizeof(ddc->adap.name)); ddc->adap.owner = THIS_MODULE; - ddc->adap.class = I2C_CLASS_DDC; ddc->adap.algo = &mtk_hdmi_ddc_algorithm; ddc->adap.retries = 3; ddc->adap.dev.of_node = dev->of_node;