Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp214373rdh; Thu, 23 Nov 2023 01:42:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IENrh+I+3XnI61V/c0j8EHmP/rjOyr/G0fXBAUY9Z5FX7tQbf78uMpTRevD5n8zYI4HFd6s X-Received: by 2002:a17:902:7888:b0:1ce:95a:9210 with SMTP id q8-20020a170902788800b001ce095a9210mr4468903pll.63.1700732536025; Thu, 23 Nov 2023 01:42:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700732536; cv=none; d=google.com; s=arc-20160816; b=JbJgySPBDzfrA7XBtNfSX2FQxBJRafFpb/gdfzPETmHoL0iN24obvCqAkd9AKTFX8X XLZlBhxb5ekwLngYKJVErC5B1eeac6Z5NODqR1DbiQFVtgYEOiZtJISCmJ3uim/EpjG5 2KeRsi7fT1MVTxOSEphB3O/aY8vEPP18swDMsiQdzx4prGlACgnYi9y205WmV8wzwiCq SnOtmPtiHK0a9FDdc0ad9qOydcHAsJMltyBD3aU/EPjGXDV3LOsM6DPDoJ1bS0wRVky2 afVaz18mtGYcP/p2qk9a5LDlkQBrZFMKqfrCNFc0ZEM0aeTF4ozRIbv57FWQlpI6zLk5 mKUw== 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=ibtPu02kEx2LQ9A0jvCmJB7jA/c3boGIvN0NginjoG8=; fh=zJN6VE0BFSsQPlIjrsY1vFo34xaQCCPLLSodjtt5Moo=; b=XqAWqvaH94vvAckVBaFeDd42CYJzhtocMHTEo8aLoV5JH6/4lwbL4LtXW74ohNWIpd 3f56+HxFgRC8c3efAjsjukEVBLmc/Rh+c+c/+X6AQm7s2wCSwWnF2u2edZ4U20gCiahs 4K1ELcSKRFGuoi58MMM0bDqmnfGacSoFt7kUyMjhyvZdgAefvvt77vE0XQc5kuYQ0JMW 4GuzwRK52ONDEABoF2xJQ1V9q34r4tAW7Tz7mthYY9ZU+GYjvyxMkMoFaYBZwhLxnTtz XaMZj/lUEx34/KuPpNZWpsGvsc2OQVicL6TCqZAywMe35pVHjhs4ars9FDbOZTXaIU6o MjrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ax06D3To; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id c11-20020a170902d48b00b001c35864fdbbsi813476plg.406.2023.11.23.01.42.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:42:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ax06D3To; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 067608318066; Thu, 23 Nov 2023 01:42:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232912AbjKWJlq (ORCPT + 99 others); Thu, 23 Nov 2023 04:41:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234105AbjKWJkz (ORCPT ); Thu, 23 Nov 2023 04:40:55 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF627D66; Thu, 23 Nov 2023 01:40:56 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-548d1f8b38bso987000a12.3; Thu, 23 Nov 2023 01:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732455; x=1701337255; 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=ibtPu02kEx2LQ9A0jvCmJB7jA/c3boGIvN0NginjoG8=; b=ax06D3ToerZNkEYfVMdZ2GCQJOdfiLST55aBuVlXbhRqwp8znHX+SZzviHsbfdgE6O jtUrf3shJRwfCl2ThjcHBPiUrq+YYrBf3zXfTvHx7HwFXVONowhL6jSsi5plYu5ZJNsK Tm7LwvnBl8KbwJ0VU4YG8ekenYVgzCSfLXbitofqDLZdl9/9HPtA0UWBbYxvTWWKyGks xRELYQJO9jbEHR4dNcjmWS6vWq2pDqpiEYhALibqdgiBIUfR6tgLnkf48MADGNglatDI m5hPnG1b6rfbQjYczfp1q4Mp5+3hjejo5cYOjNe96RPq1+E1TNS2u1PFSwkCDqcU2fZL qPTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700732455; x=1701337255; 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=ibtPu02kEx2LQ9A0jvCmJB7jA/c3boGIvN0NginjoG8=; b=BJ4qgODzNc+e7negr5hYssJse3ecZU2wPup02HuToGoH+2CGuyVv3y4SZf7ujrVwd5 Sl6lufs/8MSDQOH+7F4xx80mfW93vPg0iAMBjjTeA3awFronId6FtpXSMma1IkgDvTwt pis84v5yVaMOmrO0akae3deq6FiG92pgEMui/jhlZ1eWQOW9N+Nc8aIfgvQMvgFh+vYA FTuYusZDSmp4TO9NqlKCJdEIx8UWk96SQjNcGVhp1UZiW6YQPQbRMRzsj3pD3YrlgpWO QaGvwkDKkpQl7s0O8veBio6KUYl7IFWYcn5l9c3MiydtQwTn4UkT4TrzCG2oLsaPHAl+ WfWw== X-Gm-Message-State: AOJu0YzzlgdzGChZDPZuzVH68QurnxOnFMb+AJ9AihioVQSv6znH7BjU L2vlC4YpfeZp2REbVP1Jk48= X-Received: by 2002:a17:906:51d5:b0:9bf:7ae7:fd6c with SMTP id v21-20020a17090651d500b009bf7ae7fd6cmr3174848ejk.10.1700732455026; Thu, 23 Nov 2023 01:40:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:40:54 -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, Thomas Zimmermann Subject: [PATCH v5 12/20] drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c: remove I2C_CLASS_DDC support Date: Thu, 23 Nov 2023 10:40:32 +0100 Message-ID: <20231123094040.592-13-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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 23 Nov 2023 01:42:12 -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: AngeloGioacchino Del Regno Acked-by: Thomas Zimmermann 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;