Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1590375rdb; Sun, 19 Nov 2023 02:17:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IE7v/Hlkc+JDjo4xeQrT8RR53YiEuwE5hGCqriI0USLBMuDN5iOj0g9XAcD1wcWtVZO82/C X-Received: by 2002:a17:903:516:b0:1cc:446c:770c with SMTP id jn22-20020a170903051600b001cc446c770cmr3231807plb.33.1700389047415; Sun, 19 Nov 2023 02:17:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700389047; cv=none; d=google.com; s=arc-20160816; b=spfJEXfl4WbcN4orPi3zWOVgbk+ph4Vhx4i315E8Bcmc35mj98l8gpjUK6O0JISUhc KOtijlHetdG87jMQ4rNHPQUFiGFfgYczV63yDSyPvvnDaLhUwJP1P8D7LRt/XUv1MyM3 YfVnUulC7kw8L9XryvHhWbiirnNRPEd151cN8Wubx6guZaN/Km3FLse42W4r1qdSQ0jT 2EiBXnmODHJNdaj3eQYA5kYf5lrFQzw1tXpCSKYAKPVda2iYXIWN5CSPUgIOpsS/94LI KPn1mTodbleIkKDYJ3+t8HyQNYnzc2MBaepTnHGzxIfryiXSzcS6foHB67+UFHtSzHPQ xfGA== 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=e72KmLCJ3CDoJCk97GYas08RIDfDHJvByQpoDflcW58=; fh=6bID5D9/U6jWte9W2OJooVRVZB+2EfrM4hgIo1ptqcg=; b=LQXVZxuFq8PTD4Ya5ykzRWjsSma8amvkDNZwWY4n4nQuewBkCvqRCT+FxvOvs55T1o bDFDFlBHwWPq1VbxCH3gwqh6KM+GEWr4Y7y9aFsW8wBETuZbYDClE5YBl7QtwXIW2O5O n3jibekqe1zb3ldy+S7AohRoyU2W0Lz5YrFcU4gnuwBSmeCwYWO/pKJqLH27RAiCeail 3r+Rvk+jmEhpzdDSSn+AmEKgPcUcl+NxSgizuWEDW51z9HQMGSBjgTUcfWBkiJ+Wwwp7 SGEo1Xu+ZRiGOpCt1XR1HWNmnn9TAgl6b0LtCiRkuM7KZX8GbTxa/eBUNDU+KjRd3fdZ wM1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UtiLBniA; 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 y13-20020a17090322cd00b001cf5d0d1cacsi325775plg.53.2023.11.19.02.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:17:27 -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=UtiLBniA; 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 DD66280A91AE; Sun, 19 Nov 2023 02:16:13 -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 S231411AbjKSKPv (ORCPT + 99 others); Sun, 19 Nov 2023 05:15:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231260AbjKSKPZ (ORCPT ); Sun, 19 Nov 2023 05:15:25 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28233D7B; Sun, 19 Nov 2023 02:15:06 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-543923af573so4899310a12.0; Sun, 19 Nov 2023 02:15:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700388905; x=1700993705; 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=e72KmLCJ3CDoJCk97GYas08RIDfDHJvByQpoDflcW58=; b=UtiLBniA1KBV1V8NsMEYejdzvFTKV+IgSP0gm7DEsLgQfFsP394vtoR6sXq4P+xLmw PEded6HAlgP+Hce6fOY0MeQl2wD41l+kBcYnNIVi9H+iIfIJO2Fz8wZEls2fsC/JXOYx t2rFAnqIvIaYNGENnb8gaj3h0dzyEy+WwSgFaScnLk9Mi/8DMrCHLlIlW0VfZXMIQ4G2 UtcoAgbxG3vIJaG8R4GkEKk2kSJlhM7+S9M3HJcu2jMbUVGNN2Eh3uZDrBZthFFc+H7k iwltIQaKQEwCd00vUs258RiTmJvsC9suD5eW/Ya+5mc+Vvw9HIU6BmPrR8NgJtBL1OwN 06fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700388905; x=1700993705; 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=e72KmLCJ3CDoJCk97GYas08RIDfDHJvByQpoDflcW58=; b=WSCF2m/6v2Ybip4r6dcMMcsHOAQJEEJ6101voXVaJxqLhnW99XdnMvntKgIl9WqLtW v4TTPVwERFEzFsogQJNHh/pxH7lHmE6/cq8LZ5bogcoggxVpqJFKh9Chk3TQvW91sSrK bkv5QcbSZ6dbSMiLQwTWaINuWHIiLW0whh+YlqvFS2az/VsUZafHS+FeKS1e0tagNNMh Nasbj63Eh/09lr/0vaukmjKNv4SLO2NRIEy8//9vNJhS2FlRAgCiqzuaEQqiHGxs1c50 0Q6U/vDEoBaeVqyPaALcnvqgl6nPNgbGIF6WVvPd5iJyQdf9dH/iFWFef+J8niyAlJ6d XHKQ== X-Gm-Message-State: AOJu0YznRW512GekJM6CYbuMLTszeOVvAbycg4Xh8UCt/A2Uxl//hfmW oddBziVTllmUoUXBmF32+I8= X-Received: by 2002:a17:907:cbc6:b0:9e5:2c72:9409 with SMTP id vk6-20020a170907cbc600b009e52c729409mr4079477ejc.43.1700388905079; Sun, 19 Nov 2023 02:15:05 -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.15.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:15:04 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Dave Airlie Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Thomas Zimmermann , Jocelyn Falempe , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 17/20] drivers/gpu/drm/ast/ast_i2c.c: remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 11:14:42 +0100 Message-ID: <20231119101445.4737-18-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:16:14 -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. Signed-off-by: Heiner Kallweit --- drivers/gpu/drm/ast/ast_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_i2c.c b/drivers/gpu/drm/ast/ast_i2c.c index 0e845e7ac..e5d3f7121 100644 --- a/drivers/gpu/drm/ast/ast_i2c.c +++ b/drivers/gpu/drm/ast/ast_i2c.c @@ -120,7 +120,6 @@ struct ast_i2c_chan *ast_i2c_create(struct drm_device *dev) return NULL; i2c->adapter.owner = THIS_MODULE; - i2c->adapter.class = I2C_CLASS_DDC; i2c->adapter.dev.parent = dev->dev; i2c->dev = dev; i2c_set_adapdata(&i2c->adapter, i2c);