From patchwork Thu Nov 23 09:40:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 13466019 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECDE6C5AD4C for ; Thu, 23 Nov 2023 09:41:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FxhPqeVrBCLj1lMAWCsej9K0BAln9qHd2cNYIpiRIZs=; b=cnOywCnm3NPHPa A9QEK55Iaa2ZTLWZrBbeL/Ou8lneWFJhJ0OAdTZRuMGaY7vyEWJcNGql/Kh+4AD2KseUlRniG0zX4 VNkQVlJCcz5VMzralnukA8lkHpf2n6EK78zSYjsDEAhRto5hnzrr47MtU616njEliyKE9zd2yupBw DIBlNpXW4vCqXaSTKG16TDin0SMBRcNWc8NiU65KWsIPDREO7xXldBTLDzp7XmKXYhjxLzltYBU9X 2FgGHJKVQddwDExqNz0zNAO+nB8LOXwmgKYn93A/wiS3W6isRaxAcwaeqj963YbqZZ79BI0v++h4l D0nnEupayitSaMFHxkcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r66Cl-004Haf-1g; Thu, 23 Nov 2023 09:41:03 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r66CY-004HT3-2d for linux-arm-kernel@lists.infradead.org; Thu, 23 Nov 2023 09:40:52 +0000 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-54a94e68fb1so1759572a12.0 for ; Thu, 23 Nov 2023 01:40:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732448; x=1701337248; darn=lists.infradead.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=dNl8T4ZrnmCBh0z9yOu0NWDyah2yrqsMVep9YCKIaACZ2CX8LTTFRNt9tyCBRdDMdr r2Rg7VNlFQFmtf8Ps1mGOQtdUdqrAwKQThiyWcqwM6baxaRcSXyjB6M1wvnS+5MTW0Rt CRwZxL9jtgFMu8OjdVK4c6nLqKyoK8xJd4ft9xzrqjQTR1nmTBGlryfvfwfku5HspYcN +FZPwEjI7+lR08my3fry9rZ3xeByrimKz+C4jWxfsEyLNaDnnwO1YPRcr+xMAA1bObZS nHv5iLoFaqdD7bjaI3Wz3uEBTadOTHseAmSiKRlxtWecXIBXwhM/fNN+AxsPoIbmSy+8 6pyw== 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=Vui3uIpuYYm9AY6BCjmocgExSnxzDg+e1UMKD1Vb16pVaC1GQv24v+9uh0KgMRhP3J 5eBuzmqbxOd45GZriW/UL/nba1ZxSSb6lJinYipRt+12DgCnxGwCm5m5u9PcrNVdnZK9 2rVpuBb23UmUmgfRahBvZ2j+bpUr7OdW46DU+nI7YL6Fe/4G9JIxI2PPfo5i2sJEypxN MLUDdd0GiLXnXHXk6FwRnV9ZamvT8zGnXALGYocfJmPG1o/b/7EB5dHBnTG4F8i3nQAN caHhFSSkKCguj6lANkHCqcJRdSUcMMKDCWT9NdRP5hiuc+EwlKC3bBjjwZ+DnfaN1VLD 68lw== X-Gm-Message-State: AOJu0YzbU2rwCwu7veOTLMlUJp1XTBD/IpltC7UyugW6KEVzM4A/LLVN VZcJDTH9/G73U7Y/q941RHA= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231123_014050_872303_6E734304 X-CRM114-Status: GOOD ( 13.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 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);