Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1613978rdb; Sun, 19 Nov 2023 03:29:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGU4kHEysr+Q605Grnu0fhacIizf0BnaZ2yepaw8xdizIQCgLaiVAgp8B0yGJNx8Gvb+Y+a X-Received: by 2002:a05:6808:190a:b0:3a3:ed41:5ab with SMTP id bf10-20020a056808190a00b003a3ed4105abmr7867860oib.9.1700393376330; Sun, 19 Nov 2023 03:29:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700393376; cv=none; d=google.com; s=arc-20160816; b=yxS7d857jVcv00MhwJOAkeNXineqf8YNamcC55Npg0UTQowl7VK6nep2AtaLqVeY02 sAO/IWWcnxWyVKfljuGVgz7Ep80fMTxkboWttNtrknsU7kWVzYKCHpiBKBvwE+JA2P/+ YObkqcMgfKIdBSPRa72dS42lObMY0+3vDK3bNiTJ3ppynN1SOGY+RtuYKSutHldySIDu MnCk2eEMZz5fJHPyalgd62YxakVgNLkjYGORnpXSa6xaNCjO03wX4yLAACaPJz2RBWyp EOW6WRTaDvehzwvK94sgKgwri6pBqNOt/VfmYy/BPDWBOIEMFWThiu9P4J44SqmSSGWw GVNw== 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=G4dS6Dg2V6Zd18fdd/tosqlujLNaRk4xWETbFR+h5nF9Z4FZyn/Xz36OEpt7Dzximg r12ykYUCgVsMQY+yBHqRT4QAL4Tyj+SzWxtLnwGnAoWAbcbRMGPhCxr6KLfD5g1hL/It pBMdUNXuYAdQTzy9KCGZ64TfsNcVMgU/Nxww0MOP1SpZ343ZQwSlwPcWWDrEMbTWFKGV WSWcpkE4tAYHNfOQXUAAyp4RjSO5it/KtZv50cTQPQQW229da+3gaK51+fUNCP87E2k6 sZ8zkH2R8zagYa3scZpE9aejNB5qpnS+dqunGje4QmRqQNV/9vtQHz1HUn9tVSq2oyYo qdGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hptP+jIN; 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 ch6-20020a056a0208c600b005be01a390b5si6623082pgb.472.2023.11.19.03.29.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 03:29:36 -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=hptP+jIN; 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 E4BD6802E3E8; Sun, 19 Nov 2023 03:29:34 -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 S231304AbjKSL3X (ORCPT + 99 others); Sun, 19 Nov 2023 06:29:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbjKSL3E (ORCPT ); Sun, 19 Nov 2023 06:29:04 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02261D61; Sun, 19 Nov 2023 03:28:41 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-545ed16b137so4712227a12.1; Sun, 19 Nov 2023 03:28:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700393320; x=1700998120; 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=hptP+jINdt6iLG3JZ5XTCKrrR85ub3oeba6+pQqzIHRe3GuB1A5PasGMgtxPbytOx7 mvhHT+njmKxo+YY7eQxtAY//fOHBWwBGeYIoqbreVIp/eWOQV5XshaKJ88Bw6s9DgY4j u77EJOxIUQ27N7MocJjP7phC4ZtCIAjkyGmqVnQKWrEnLdeQuLOcKHOFdEKzcYrWvhJD bQLe830JxrazWpYqIOmDhax278abiOiOFWKUU+xOARVARIbpunsTKTTwg4ffKi32JB1l QDy9TPNAG0uhZw6+lBQsQWQ3mcUPaIVFEhtq62cvvylms6kWX9ydM6TOiMMizakOjInR bF+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700393320; x=1700998120; 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=R4Tr20nJBxPdl/2n4slYUPdzUIhkzQNRL26DKUTre8UrFgvIEC115dmvRd2Por0qEM Qq99Ude9sriiwikFCwnLP6St9Y2wQOP26D3+sgmWNZqNgMo4Tu3gnz2esXadCdXUEOqN MaC/Oea6MZ/nq4BgPzF7KjITJjHXR4GEGG1lhKW5xLeg7rWlpCC+aGSUAOg7BFyOL093 sXnYiQrvb7AJYcXHFLtHIbqTnYm4g8MGAswvan4j02u39Hd5UGMkBduZmqHwauWqWSCw AdqEqXVgLlI0tVyO4sZ/UoS2S84/1zTV8P1Ww7kJgPjRI81chdrdwNkxiWRu+yIXI77Q 2pUQ== X-Gm-Message-State: AOJu0YxAQ9p/5R2/WG6/acsilRAWUUI5M26J7HEbGQ0+1vG5vSrDiYze 6KSNHW6updnB/eB5AyEFy8Q= X-Received: by 2002:a17:906:7396:b0:9fd:8da1:5c9f with SMTP id f22-20020a170906739600b009fd8da15c9fmr571228ejl.15.1700393320105; Sun, 19 Nov 2023 03:28:40 -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 k22-20020a1709063fd600b009f8af454d0dsm2420378ejj.112.2023.11.19.03.28.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 03:28:39 -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 12:28:17 +0100 Message-ID: <20231119112826.5115-13-hkallweit1@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231119112826.5115-1-hkallweit1@gmail.com> References: <20231119112826.5115-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 03:29:35 -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;