From nobody Sun Nov 10 11:17:25 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E99A5C5AD4C for ; Thu, 23 Nov 2023 09:41:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232915AbjKWJk5 (ORCPT ); Thu, 23 Nov 2023 04:40:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232854AbjKWJkn (ORCPT ); Thu, 23 Nov 2023 04:40:43 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17C05BA; Thu, 23 Nov 2023 01:40:50 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-9fd0059a967so341008766b.1; Thu, 23 Nov 2023 01:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732448; x=1701337248; 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=SLxIO8jymMsGgax9WMIUOf53Q8UCr/7PCCK8+C8vDXQ=; b=KRT6B5vNb9OZULnQ00nQuAakY609BlZAiS4YXcROouyRv/7TkV0a5KpDTN++L+vZZs e4u2Rt2l0OKLrtQgtsGyIsaPQzuWR6eeAqSm71gEzU0FxQWX+Fqb+FE3hSXuZ4uzndrC T6gUay806gaoyKUNcmH9uit8KUNTJtyu+HfHgGjhsUhXcn6pu3SRFZ7dNh29IU2hj0qD 9lW9L8m9QnY4l1UjWLcf1K1JmlxqG7e5u5SyAZ1oj/3n80YgF6T+wcy3Qe3uRJNLHkLE YWzp/NsZvWOE9tVAewFjEtKBk+yaA+FzL1Fv9DLUjL+PeH4n9nTPqTzJGuQ+tZ9gmqd1 vbKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700732448; x=1701337248; 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=SLxIO8jymMsGgax9WMIUOf53Q8UCr/7PCCK8+C8vDXQ=; b=xUBP9mgihqxaNMYDqTMxdMDsxSZi+RK92M6VqyKz3/MLsQaSsTUC3lRgTqqpgDTOfx KFHkB5EtorjmPFGZlWCTQDNE1tJcrtiGJt2+q0TuA0rETi9KHR2Kh+91yNzyUx7hawae dwhK1nJGPDT5JHEgsifdj7xmgoUOAXnw5bmvznR0mWBrFEoC2Y5SKzC9L4lAvipI8H5h caKMu/S0eOsIUDO5FdJb3nYwIF5Os8IWqZYRIbvxrPmfgoLw2fjmlyS7vBKSOpABaDOa dyidd1YdLl6j3T4x18QIMKOOWR5TnePvon/1BepffwY++VH4aklRStG+7ZcMEoHuITHO tKUQ== X-Gm-Message-State: AOJu0YySMAEW5Yq8YeFMMf6CthenJA8+FOJoVmprvjMeb0jvNuqeIGxu GtvVVq0K1c89H74HAJ/PVVs= X-Google-Smtp-Source: AGHT+IHAAgtMNPgGG8plHKbnTsqENUj/FChwDuBx+Jt1UJ0zF6uKp2U1sG6bXy9dBnLTJPdZkoeP/A== X-Received: by 2002:a17:906:78c:b0:a04:e1e7:d14c with SMTP id l12-20020a170906078c00b00a04e1e7d14cmr1773863ejc.32.1700732448312; Thu, 23 Nov 2023 01:40:48 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:40:47 -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 v5 04/20] drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c: remove I2C_CLASS_DDC support Date: Thu, 23 Nov 2023 10:40:24 +0100 Message-ID: <20231123094040.592-5-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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Acked-by: Thomas Zimmermann 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 su= n4i_hdmi *hdmi) return -ENOMEM; =20 adap->owner =3D THIS_MODULE; - adap->class =3D I2C_CLASS_DDC; adap->algo =3D &sun4i_hdmi_i2c_algorithm; strscpy(adap->name, "sun4i_hdmi_i2c adapter", sizeof(adap->name)); i2c_set_adapdata(adap, hdmi);