Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1590092rdb; Sun, 19 Nov 2023 02:16:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9LprzXdETss8nYk1OBf4klXzOYRpQseKLeTaCnrdBNbinEVMLfvYU0q4JBK/Ebg5IADP5 X-Received: by 2002:a05:6a00:1a91:b0:6cb:911b:8000 with SMTP id e17-20020a056a001a9100b006cb911b8000mr561529pfv.28.1700388995164; Sun, 19 Nov 2023 02:16:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700388995; cv=none; d=google.com; s=arc-20160816; b=jOy6fWw6L4QCxq1FqiM5O2e9noGTWD1VpM2LCQEFUtR4cMAZcIRaQmlFGS8FqbQt5A JfFDkjE8KUzF6z7jmVOOPsxgZA9OY8FMygAtjDi0NPVDGeUnY/9zGcuif2ZDSlVLI9Lq FC+m9Oko2mrTm9bmIecppSJgKzEOB9AE7u3i+RTwS9I0mcpiMP+FiIpFCwhPRomxca+b 3sqMzlhTs3H372CDh2AXsbmktodR97jgVNtCd0Y02Rio52jyqltAO1dRjUxq9Xj+XZlc tO9wJ6MNREhLOWl5nnaPHbCWYHDAQZBId6Z5AaFcRx4h/EdEZLEsNNunDWaye0vgiL1a azZw== 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=RwYQsxTIlPnpbp305mlbq5GplvUv/n/Jh48i1GH8+AY=; fh=bp2muvP59zuvU7/8kt9VTfCAAybrtPmomvbTM+hDw5Q=; b=YNIPrPPW/73KVPLt2ChEzbsBPnaFHamEXaSarMzEqILpgPdpHpNLwZO8i+Jy9FlLkY EVKYyO1qrit/hHG0It5JADcW9ZSiSpMHvJsgvyMZ4qJG0HRJXJ1XNslPx3ZzJmZhGbag dxOEQnd6qdH8pGgaHZojcsGoW48+RCHCnPHjqBxkA+tW5LZVv1eymCk0UNLFvusGTjFd xH8AMnUbndjNO+PWB0ltCkACvcDs0zvG0mmxUu8tkf/WtM8PZN/Fi5J7BG1zzliirsA4 w92nFoNXG5qM8SwDSmqjiQTCkemQaZs2R+/jS1dA9uDflpvHyR2Aqifc+uOMYzyVfHb1 zv+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZCSIWgU1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id e6-20020a63d946000000b00585463c36fbsi5825221pgj.44.2023.11.19.02.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:16:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZCSIWgU1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 D9AD88060353; Sun, 19 Nov 2023 02:16:26 -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 S231365AbjKSKPm (ORCPT + 99 others); Sun, 19 Nov 2023 05:15:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230467AbjKSKPM (ORCPT ); Sun, 19 Nov 2023 05:15:12 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2001B194; Sun, 19 Nov 2023 02:15:04 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-991c786369cso474456366b.1; Sun, 19 Nov 2023 02:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700388902; x=1700993702; 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=RwYQsxTIlPnpbp305mlbq5GplvUv/n/Jh48i1GH8+AY=; b=ZCSIWgU1B3c6T2lWAMwFN9RVeQe9kixy/mtwyLyq6lL4GIAA/RG4N62SVw7IsKdbPL L98CLabqVIsaDYkXMSEYwkmA2qjWxWxpYKbPeHSytWCOpu5axEGeUiqAoi6Xze5GuOtQ vXMixL+Q8mCBCfLeXQNAQMjn5v4LyJva66so2p8EM5kN/px7Qw3fCoi4ciVzh42uVtGC ltRaCOlqxUX/UyhHlie9PqULWz7bSftN/7K864Du5DbddzacYTud0iD8aTUDEzmLTFdn W5XPhL24wJ5Gipyiax2uK1m5+Wxs1jbMuPtjmF6cdjZ8CAj3cQByoBvcLRHSRkV4npe/ /zDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700388902; x=1700993702; 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=RwYQsxTIlPnpbp305mlbq5GplvUv/n/Jh48i1GH8+AY=; b=OYNAxhJzmUWID7jGO6dXrCEBES8Yxnmkj2XaNR+FNROlC75f5TZ2O3cnevnuBjFi6e kIEjXizrDrFt+ABxBZjdoVIo8TGjMh6N5dIGJFjyDXcK3fMWa9jk+nLfjIs0b/v/IYf9 9czmXtMcHclkfh9GSlKRGZxwlmBfBNGLe7AD705vUFafDeTqDraiccrtCAn4yvhyYpMe ry2Y0S/dRcQFFkHmu5EdT7YgKhuk1pXdUbzR9ff/p37KdXvK4Ecu0Qy7mbaFAcB5pmtc 6GaVt+u+B4zY78Z1BLvswsgAw8CCKwv9HrW9uGwj9ZLGrBES889wvwebJLuopxgLslaL 3xjg== X-Gm-Message-State: AOJu0YwY6qIcofnDQncFEDL/sQORGeNRiO0c1i6YKvhLks0NEzfTLIkJ oGfDVgcqO5QBq03AWp5WTcs= X-Received: by 2002:a17:906:1001:b0:9e5:1db7:31b1 with SMTP id 1-20020a170906100100b009e51db731b1mr2848642ejm.2.1700388902097; Sun, 19 Nov 2023 02:15:02 -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.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:15:01 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Rob Clark Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 14/20] drivers/gpu/drm/msm/hdmi/hdmi_i2c.c: remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 11:14:39 +0100 Message-ID: <20231119101445.4737-15-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 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]); Sun, 19 Nov 2023 02:16:27 -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/msm/hdmi/hdmi_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_i2c.c b/drivers/gpu/drm/msm/hdmi/hdmi_i2c.c index de182c004..7aa500d24 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_i2c.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_i2c.c @@ -249,7 +249,6 @@ struct i2c_adapter *msm_hdmi_i2c_init(struct hdmi *hdmi) i2c->owner = THIS_MODULE; - i2c->class = I2C_CLASS_DDC; snprintf(i2c->name, sizeof(i2c->name), "msm hdmi i2c"); i2c->dev.parent = &hdmi->pdev->dev; i2c->algo = &msm_hdmi_i2c_algorithm;