Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp445447rdb; Mon, 22 Jan 2024 08:58:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSeaP+CuJh9GfaEEiLWDZ/R8mbrq9bE3WtOfQMaftxQXsexlCiCl+HIqq/yKzfe5nTerwg X-Received: by 2002:a17:907:1302:b0:a2f:1cd5:94f1 with SMTP id vj2-20020a170907130200b00a2f1cd594f1mr1845427ejb.67.1705942683841; Mon, 22 Jan 2024 08:58:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705942683; cv=pass; d=google.com; s=arc-20160816; b=vd49YSEktBV7bkbTcc1p0khb7lVTu9gi6nixuwSiOpHUsgxlYUuKban88UCukQ9nlI n2kOtnd8+ZydHx4BDYj33YbZshWFLC8Hbuvsu0MBOkFCHhFQxjQzIFkG0iw0xeKtbWkw +s3ZaYTN1h/gxJY84xFVA3e1+39DqIA46WRvYfOseKUyEV2VDF7Mnv3fvPE4M0lQUR5D AV93jTFYNMzSHNDYb6olqGPdhKQCHZau0VR8MvrHTKvYOQOzjeyYU5eFdf5P9r7Zvgls 7fYU3fKzTQR3v0ykii1xwpM0Bf2v8x1bKzYuPT5pmr6aYFbiQCqAigYXAaLmE9aJZnb2 pVjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=v0lNrtM9DnzUIW/0r5WpXEQ42nFLlj4Vmw0VNlhJA5M=; fh=+GfOD6r3HOm4apS/G9h5/yO/gyH6RDBgD4eCNC/5ID4=; b=ZFEuF7TQWIfsgqiCVbJqiqyr4FWFGyP0g+u/XnXpyh3lnP4NbaFAThR8XTRCspOrUs 9XUM0MGy1aww1XUi408JuDUcwrQt6Mp+0Xlr4TVc/VrGiFFEh/W06nWZwqfTbSiaGutd tHK+Pgz9/vTcuG36fQ0W4trZ0eXKMgsC6itdZoIURFNLp7Mp2PIAp45RF5eu2guq4pdX wNHCS+yU6P/V1htelQNvzn/AtOo4s23/HrdA3Jz5vU6JNO5y4g3pvQsH/agBaseq/WrY As8k3mVIaahPkgzJ0ciVMVruqRG0HuGNMSnbQroOFjsyjWczMb+SZg2sulUkuJJ88fSG cuUg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VkWjM9Lx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id by19-20020a170906a2d300b00a2c2adaa539si10079486ejb.330.2024.01.22.08.58.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 08:58:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VkWjM9Lx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8E9F41F251E0 for ; Mon, 22 Jan 2024 16:58:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F2715F841; Mon, 22 Jan 2024 15:31:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VkWjM9Lx" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD1324654B for ; Mon, 22 Jan 2024 15:31:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705937518; cv=none; b=ToZjZ7XhDTDR154MlZ+dPhr67UOdP0j0x19SJxF8jHIYfdNp720N6May/vebUaGH+uO1eJHSJr7gD7uBV15OCyp7niIFZw7RPlTsMpgxbJOk1sh4tN0tY5tNBU6KKpAp7Q9PDwSXwhmtvmmkPrlllap2iqEGZKdyP9S1czwHx8I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705937518; c=relaxed/simple; bh=D8noVwkJbNFmPqK4QAu8yfNP4zdZTow0yqFrOd9rct8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tAzJ0Rn4GArRsGL8LC49/uVVFuli3D5+ZwMwfr35hEv3yeoUEMJW10dnKqUOAnuuXssS5+qIygeXkngBY3l1z6ZrmFsHD+IFbro4kcX0TlykZ61eRtaYArB0B6hMKSb6ZkM8LY8+pNBBeq4SMpEY0Lsxj4TBqZcfF/vszyPD4Ko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VkWjM9Lx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44CF6C433B2 for ; Mon, 22 Jan 2024 15:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705937518; bh=D8noVwkJbNFmPqK4QAu8yfNP4zdZTow0yqFrOd9rct8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VkWjM9LxRHTMDjO5n7LOZXU20gi+Rhaa+1IZe42qX0FSxU4DQswh6rjsXGtyB0ii/ h1kTMa0jspsYdsmmCAE7ROk9sU9l72iVXmrWHDOOV34c14+UMoxWRFxfQR2dka4C4m e4xqZq7O4eT4rHVyi+jbLOcHY8bjKyK0xAbJ4JU09RHHhNMUUQZWRyapzfOYALhnK7 pTZcbpRlrqNN0SLIFgCcRZ98Ddvo+RTlVFWkSed6QM6Iw3Jha3pCyhtUG+oZmqD7EO ulC8G4KpqxxQtdtwnXOuhBJzRAVSEnsjj4+dAvGvqtacDsNYxJCxMXI1JzVzUylcjZ DZQaU3RRTVDpw== Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-dc22597dbfeso3556397276.3 for ; Mon, 22 Jan 2024 07:31:58 -0800 (PST) X-Gm-Message-State: AOJu0YzgHa1mlnfXOqJANXuqseJcmiXWQg1Cf4TPI+9bl/osdMxcZgZI dJNPMXG+T7OuPBM+VCUXvbUA4MPS7RGz+tfZd8qLyfOSNT1VLKZrmkfhZ2RnRCt+rKFJLbPk0JR tI34qf7NXwm9XHv8y2tZHSewGuJ4QIGkUqKtYsw== X-Received: by 2002:a25:8885:0:b0:dbd:ac60:bcd4 with SMTP id d5-20020a258885000000b00dbdac60bcd4mr2355277ybl.75.1705937517525; Mon, 22 Jan 2024 07:31:57 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231119101445.4737-1-hkallweit1@gmail.com> <20231119101445.4737-12-hkallweit1@gmail.com> In-Reply-To: <20231119101445.4737-12-hkallweit1@gmail.com> From: Robert Foss Date: Mon, 22 Jan 2024 16:31:46 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 11/20] drivers/gpu/drm/bridge/synopsys/dw-hdmi.c: remove I2C_CLASS_DDC support To: Heiner Kallweit Cc: Wolfram Sang , Andrzej Hajda , Maxime Ripard , Neil Armstrong , Jonas Karlman , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jernej Skrabec , linux-i2c@vger.kernel.org, Thomas Zimmermann , Laurent Pinchart Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Nov 19, 2023 at 11:15=E2=80=AFAM Heiner Kallweit wrote: > > 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/bridge/synopsys/dw-hdmi.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/= bridge/synopsys/dw-hdmi.c > index 52d91a0df..aca5bb086 100644 > --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > @@ -515,7 +515,6 @@ static struct i2c_adapter *dw_hdmi_i2c_adapter(struct= dw_hdmi *hdmi) > init_completion(&i2c->cmp); > > adap =3D &i2c->adap; > - adap->class =3D I2C_CLASS_DDC; > adap->owner =3D THIS_MODULE; > adap->dev.parent =3D hdmi->dev; > adap->algo =3D &dw_hdmi_algorithm; > Acked-by: Robert Foss