From patchwork Mon Nov 13 11:23:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 164423 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1135398vqg; Mon, 13 Nov 2023 03:25:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXd2z4VxRUNYkbYWb6n9R5Z+0ldqTlNpCq5y6W2XJDAeLrHddF5PUlBIBSMXhWMAqbeoNA X-Received: by 2002:a05:6a20:4294:b0:159:b4ba:a5bf with SMTP id o20-20020a056a20429400b00159b4baa5bfmr4957449pzj.13.1699874734227; Mon, 13 Nov 2023 03:25:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699874734; cv=none; d=google.com; s=arc-20160816; b=ZremoT97Q05NNtbMSIwgGJODj6nkCWyNc5Oc8rWvdYnxxGFuYut/+SiUH8nK3HE5bV qnS9Qv91AvSszGIUN0KElKzgQiP6mnFSEh9VY62erQhGZ+JbB4ASyUoSSMUWJ31Bmj0q 731VfJYDRCy2jm4nMjeGeL1Vu4ewsdgDLKATeXLc/gh1koqoiftUvngd+ZEpsBf+NtcI +bbrVvQh0ZPqOygu/A3+oGy5tHL3BLlihe3g0l2ooOvBO3nERPSiTLkHXwva/Rih20W8 KfTiyPZP4sdyJjAFaS/tBZItEdlY7NPSpT7Ww+AbQY6zG2EjnZB0KL8p5xipyWwpHc69 cjgQ== 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=x0UShpfjCPfBIWng5J4/pQaeext1SYGd0ovoJY2VHzk=; fh=IMMcDeXOSUhv40HR2NfbH0ST9HxZ6c7sVSi6sNVs0d0=; b=pvxNe9ftD9/dvr59lP9AxMPeNgTN4ta6CHxheqJWiuBZLIqaUvPsFO+qliO2P/5C9m sCCJ8fkvw8EGEWMER/1axH7KNbrsoA0KNTlUrvpdPRrikO5s5SJfxwAWNXfrlc4cZJfj 1VmDPAc9smlDLQFrUsXPAs1OmCOKMM5GZhbWeY4ItMsURFSjISrxy8k14kFz2iLJHDGm W6xYiJnCQB+1U+8ogqo8uexIYnAVaw3EVYqaSjTns25b1d/NIHBm13qeLuIEr06XHUxE +akCdMrLAS8h5UGrwUEKM/zqmiK/bqv7JwDtZ14g9EfCQphgKKbgaJTjLDNfdsOBPFdE V1RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QqOSbKwz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id p30-20020a056a000a1e00b006c0fe1a6e78si5485853pfh.22.2023.11.13.03.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 03:25:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QqOSbKwz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 012F08051AAD; Mon, 13 Nov 2023 03:25:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbjKMLYs (ORCPT + 29 others); Mon, 13 Nov 2023 06:24:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230010AbjKMLYY (ORCPT ); Mon, 13 Nov 2023 06:24:24 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0423AD5F; Mon, 13 Nov 2023 03:24:12 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-407c3adef8eso37314025e9.2; Mon, 13 Nov 2023 03:24:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699874651; x=1700479451; 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=x0UShpfjCPfBIWng5J4/pQaeext1SYGd0ovoJY2VHzk=; b=QqOSbKwzWihyZtNLq/zgF00CdiQa2YMIxc3wwFAD7uryqc8iY2NGOGErTysrTYY8Ke qcuDh47CogmgrwuHQxbuK+1JgaeG2+pU3iE3VZmM4sDNu78PfDosqK9X0Y1NYAJt/MKY gm+FSowBEadchGMlYCXDOHd2/KXUC/m/XPV2J3wM9bNCx6X3rFzCwBF87da6HuR8xOuF bJh8jm7d4AqPzcvprKJ71vKflkUmTKXHi5sL0nyICnabuDcF98d5yHPEbLcHnQqiYA2A wVOuiMgY42w0Xug/kNcGu8VxKB4eMatPMrwIZ7hs+9PKGBCqNwJL7KdLa0EpV9W643SL 5DUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699874651; x=1700479451; 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=x0UShpfjCPfBIWng5J4/pQaeext1SYGd0ovoJY2VHzk=; b=VzUfd/vrML7q9sD1v4IBP6HWNC3+xd92CYKphGDHA9C7YwiQ4LlDkgV3ayY5bgDgUd TEklZfuLne64Ao/Od/SKyMY33YZyNQ7SMVJ0SESdLmDHZQdPgDW+xCJMIb1ipOEjjO+V qzXMXnu45wlCUSLqeyIStMMK920ZTkBtt/GtLf0tuIJH0ymSDcnZnnPJ1m5GQuMnWzQb GRcQbPQhr1tlu7aD4MAP8s5G2iUuAJCHLffWjlOZmlCLE0GSZK1Jh0DiRDxB9VlCal3G xx6uUcJIupE1vyc4Ej/EK7lnulpYrY7h8fPW1Fgx9VIQLKwiXxAB4a6vl/jIyp1eZX8l bfKQ== X-Gm-Message-State: AOJu0YxbThJF2YeuAC7PnHsjexIV7FPtXaSehMmXEVIVrzyaigEFstwC GYtvfL5q9Q7p9QkKrYVVIQk= X-Received: by 2002:a05:600c:21c2:b0:40a:463c:1d8c with SMTP id x2-20020a05600c21c200b0040a463c1d8cmr5105398wmj.21.1699874650883; Mon, 13 Nov 2023 03:24:10 -0800 (PST) Received: from zotac.lan. (dynamic-2a01-0c22-6e16-fe00-2223-08ff-fe18-0310.c22.pool.telefonica.de. [2a01:c22:6e16:fe00:2223:8ff:fe18:310]) by smtp.gmail.com with ESMTPSA id l19-20020a05600c4f1300b0040772138bb7sm13565787wmq.2.2023.11.13.03.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 03:24:10 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Andrzej Hajda Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/20] drivers/gpu/drm/bridge/synopsys/dw-hdmi.c: remove I2C_CLASS_DDC support Date: Mon, 13 Nov 2023 12:23:35 +0100 Message-ID: <20231113112344.719-12-hkallweit1@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231113112344.719-1-hkallweit1@gmail.com> References: <20231113112344.719-1-hkallweit1@gmail.com> MIME-Version: 1.0 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 13 Nov 2023 03:25:12 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782447849236660309 X-GMAIL-MSGID: 1782447849236660309 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 = &i2c->adap; - adap->class = I2C_CLASS_DDC; adap->owner = THIS_MODULE; adap->dev.parent = hdmi->dev; adap->algo = &dw_hdmi_algorithm;