Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1590291rdb; Sun, 19 Nov 2023 02:17:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJr15vLndT5VxwTQ6QyIE88atP/9LKkrz6bw/0U8YBQAzaPKkebJ4w5PTrOwwnScb+33vu X-Received: by 2002:a17:90b:1b09:b0:283:2805:7c78 with SMTP id nu9-20020a17090b1b0900b0028328057c78mr2899299pjb.14.1700389031836; Sun, 19 Nov 2023 02:17:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700389031; cv=none; d=google.com; s=arc-20160816; b=zubXMf9zkWAe3pNfLWKhrbxg79uHFqVWXjSb+KRFtoOLVCwjen2S5GfrTvig32iTvZ 7ktitMjqrx/FTu4r2cRaLdqC3NTWNNxTpuujkSTmpAgfUEjP8BeZZI/Sq+7r/4kj1yFu xg6gCB9FFucs64LmqgUx8gUY3ImTrr99sOaqA4KXOocNEacBKZEYJ9LsbllAyrq1We6A 85VBBGEW6RzPerrztZ8OB/QMU7Nzn4mXb+euAaOCxoWK+uQa/la5rqLyq+SXqjxCcMpo k6NZCBm7XPl27SEex9pCeDNzZArwnkMrlzncKRf77Nj9aJ8MX31NUU5BptVtZft2AQBE 9i7w== 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=UFS8KKprIzFM0zE+Ai6M4ORed6sy7M8DbezDgWX5KRQ=; fh=U/xtFoefx0JKTW3b/i/v2NCzU+8ziTFUpef07ID7nI0=; b=UuTZjL5SOAm14necm74ldlVAL5jXksoFBWAWmWW8mL1XPqJNLZ4CBuLnHgiK1m6qZY wKYjZbUpKHxSaecVSKdftlr8kzO+riVdMo0jW0o8FktdcTeBHwyGlVgCZD6qvaF9vw7o 4xvOK3EPx121w+IMbiw+ZpDUcFlATBo8ICK6saN65vqDEMsCvgO5peCfUqC34NaTUTew tLwzzzBX5lcke+GJT1BUu3T84tZ6vwI1+LydMVuF3Ion3CV4OMOfyNyNqLTbeIpLiDhO 4EBUFrTsSAnI5J8kYsG0hGZ7+pOVHTPPuBv1C/1K96fhzPFjWABkxkSYJa2Ii/J08CrB qMrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="E/kofEEW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id mh11-20020a17090b4acb00b002800b13adb7si6247870pjb.72.2023.11.19.02.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:17:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="E/kofEEW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 383EC80755C8; Sun, 19 Nov 2023 02:15:17 -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 S230155AbjKSKPF (ORCPT + 99 others); Sun, 19 Nov 2023 05:15:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230392AbjKSKO6 (ORCPT ); Sun, 19 Nov 2023 05:14:58 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07751B6; Sun, 19 Nov 2023 02:14:55 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-53d8320f0easo4835929a12.3; Sun, 19 Nov 2023 02:14:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700388893; x=1700993693; 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=UFS8KKprIzFM0zE+Ai6M4ORed6sy7M8DbezDgWX5KRQ=; b=E/kofEEWob7OG07wSdUV6YKCL/Iio0p2OYRhNKDzegXPMcuLt33Mw169dIY0neC9Xb ab53IuV3xpwSTqck3XJcOE6jz87+GsQFaE+POzcx/qteCqGe1aXWjFeIzgOlOSAJxx2J Npundf9lXumkEXmkvH/hz9T0/yKAuvfXzGEcMPfBUIJEi/SjJGh/qjevwoitagbQn/oq 97FZW93Ejh1ZTQd9nsYtNh+Kerz6OuOxRfzYzsuuuE4jJKGN+LMKCC7yh8HefKsUzVnO boLvB84lPnyc4PihHlaHliLXrL6xXEB0GB469QMWFiNufvge4Zj8FX4dIsm1cOknLcGp jV7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700388893; x=1700993693; 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=UFS8KKprIzFM0zE+Ai6M4ORed6sy7M8DbezDgWX5KRQ=; b=af3Rr9AtIUkT+yokI146Wt0XjR+MQ2+csEd2AWUnmcWkYswPSTMUdWg7IoGBYbYnyT AEGDZc4vMmgIlqI8vW+6aZwqjfSi7Qjvd1jZGe6YPove0vr3Ny7f/FtFEebuW1YCFTgT 6XhbW7AlZs9wuNIDpJ8NVem6M0L80OXUYIf5l4GvW28Sa8CXuHta4lo/RLTjHyx2vrvK XwYA3NZwU2UDLCGtwG18i9+fqW/g42CdNI71ZGzfZ/ElBylBCpUD9O6gwdqtoHlO+7cn qOskhHWnn7lKldZoIfEvVuKE8v1UOPnlGdCoGIwLLQRPMiY+Bnq97I5OUNn+ZaNoD3+r bObA== X-Gm-Message-State: AOJu0Yydp9BBJmZvkzMWl6zQfMDpGR89+ybiK346Az1XoDuuZV+wcgUL Y5sPGC2H9vVFkuyfOBqBjWU= X-Received: by 2002:a17:906:158:b0:9fd:a833:996e with SMTP id 24-20020a170906015800b009fda833996emr416969ejh.77.1700388893152; Sun, 19 Nov 2023 02:14:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:14:52 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Maxime Ripard Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Chen-Yu Tsai , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Jernej Skrabec , Samuel Holland , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v3 04/20] drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c: remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 11:14:29 +0100 Message-ID: <20231119101445.4737-5-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:15:17 -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. Acked-by: Jernej Skrabec Signed-off-by: Heiner Kallweit --- drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c b/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c index d1a65a921..f5f62eb0e 100644 --- a/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c +++ b/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c @@ -302,7 +302,6 @@ int sun4i_hdmi_i2c_create(struct device *dev, struct sun4i_hdmi *hdmi) return -ENOMEM; adap->owner = THIS_MODULE; - adap->class = I2C_CLASS_DDC; adap->algo = &sun4i_hdmi_i2c_algorithm; strscpy(adap->name, "sun4i_hdmi_i2c adapter", sizeof(adap->name)); i2c_set_adapdata(adap, hdmi);