Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1589696rdb; Sun, 19 Nov 2023 02:15:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgqqjQ/j5GM2x0AumttaexzExAZLBLsUbFZwSprBdLoT3N79FnqsEZhgHItCsx4AZF+nRT X-Received: by 2002:a05:6e02:1ca5:b0:359:4b03:d953 with SMTP id x5-20020a056e021ca500b003594b03d953mr5933298ill.32.1700388919277; Sun, 19 Nov 2023 02:15:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700388919; cv=none; d=google.com; s=arc-20160816; b=uHwySjgo4NyIkFnvlMSXYj3occATUeiQOHRhUgUIkkFMPuMte1CvXb3hTOsBMYTIAv aOFXz2WON+KuSt9jt48LVWqV/mom7nJROPEu+5SqBK6XVZOBBIYh+Kl4gRf17Dx1oo0N IWVPK43QLQTNnfzf6ZIHx1LhRj9LO1z1IxgGlnzc8hhtRTL7dkpe5IClkEZTVQjs437o JUca6m6suZcHawulaqbajTsS7x7Tnj1oP/M3tDRcywvtracU4I0X0J1T/ru0bwT4mgXA ruvPwNjfXfjatF72HuRfWl2r5KG4fxh/mb35r8mv5Fvd91rSxtC+szGXVlcRfeI7Xqe1 nZCA== 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=3j9ifWvhNZGTq3IiSm2aJzZT95r7nTZmkK8TlD5sXtw=; fh=6bID5D9/U6jWte9W2OJooVRVZB+2EfrM4hgIo1ptqcg=; b=jWIJL7LxQ9kXXqCJMfG30hus7fj7CcZTZs5hQHbOebVgFs+pqDT0PeGf9nJiT7qS18 0cvyfb3l7Bx5Ij24r5pXMEZsUPDEVzWAkadlLtgw4BagwK+RBSOCAh3AvPogiJDs6xsA qmiPpIKw9vk3tZG4veSA+cmXPnWOeOGOH7AfRMaCYlWvT47seUCmtCPgzqSqt333mV88 XPt9cYGoRCfxto9j+zMHXcvHfVKSYY02dxiNeHth5YMnQNA33ZSukDkHAlly6lntFpTg 4kQs5g8/AIEzZPBn1l5VfgUu4RqFzOomxyvnDpdcMqktVc/SN2Mu/9ZEb7qQCxLobfwx xxLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GfEksXFj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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. [23.128.96.37]) by mx.google.com with ESMTPS id jb2-20020a170903258200b001c724cd1128si5615803plb.276.2023.11.19.02.15.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:15:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GfEksXFj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 E622980AD8E4; Sun, 19 Nov 2023 02:15:06 -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 S230398AbjKSKO7 (ORCPT + 99 others); Sun, 19 Nov 2023 05:14:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjKSKO4 (ORCPT ); Sun, 19 Nov 2023 05:14:56 -0500 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE03D126; Sun, 19 Nov 2023 02:14:52 -0800 (PST) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-543923af573so4899159a12.0; Sun, 19 Nov 2023 02:14:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700388891; x=1700993691; 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=3j9ifWvhNZGTq3IiSm2aJzZT95r7nTZmkK8TlD5sXtw=; b=GfEksXFjFyFrIFN0Bw1OV7zfQInb8fFtYBVzhoWtcmRt8KTaNRazno4qbzLdug54yU 3ayUf4jXGV5qWJ2BKzmuf+KxPN/ckUMc5TJUTZG7WvZsxbg46AHQuGuLfPHES9tXxVqJ 8167keLpv1XvaEYCGtB1Y4dZBNKPc08aTLMVXCimQuiCTTakNd8x6JV/o0KnA2sUgYoT j6+TvhWID+nLssTJlZb2r2X4+8FDhwh2MpqpQOdBmnJ8txjlgqPwdhm3r1GdfA1LkyPL TVdKXw3pV52t6p5bIRyt6HgvBACYB9Afk38wfj1F06lkfftCSoy4t7PY4XXYTrdbEUYr 0LDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700388891; x=1700993691; 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=3j9ifWvhNZGTq3IiSm2aJzZT95r7nTZmkK8TlD5sXtw=; b=rF65MuM3UVhpspYhsnGd1SrAibPSmzX33g6Q4rA5HOworacY5JKCgpXgcnckU/ray7 XlQBG0YA7IGhA5VYt1C2PcnOJbl1JdUwqbsF2CszfZ7K+9LXVnxKPWwxkJsR25zSzZHT G31zGZBatJ2ciahTsLopccRgNs0jhsAr6CTVm0/SOHBEjmJycgSMkxQbM/yGcwGOGN8J sGrlLIgpyiO516XoUNUSoB657L4a/Mpi5SUZuMNMrDwRG5vB7LVcq6yzhhtLFtBd4CXM badJesu/ngWBGE+9ZLao1VnCRE+eaL/Utb4ORB9ytqdSl2QtAgwuLnyMG2SlI/jgLe1j YeCg== X-Gm-Message-State: AOJu0YwE7C+lp949x3UffR0d5JURXkwD2SCh/laKsMmIUa/gvv2PK702 YdbiUbVvnHp+ybGWbfutbMs= X-Received: by 2002:a17:907:9483:b0:9ba:1d08:ad43 with SMTP id dm3-20020a170907948300b009ba1d08ad43mr4137673ejc.70.1700388891276; Sun, 19 Nov 2023 02:14:51 -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.14.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:14:50 -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 02/20] drivers/gpu/drm/mgag200/mgag200_i2c.c: remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 11:14:27 +0100 Message-ID: <20231119101445.4737-3-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:15:07 -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/mgag200/mgag200_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_i2c.c b/drivers/gpu/drm/mgag200/mgag200_i2c.c index 0c48bdf3e..423eb302b 100644 --- a/drivers/gpu/drm/mgag200/mgag200_i2c.c +++ b/drivers/gpu/drm/mgag200/mgag200_i2c.c @@ -106,7 +106,6 @@ int mgag200_i2c_init(struct mga_device *mdev, struct mga_i2c_chan *i2c) i2c->data = BIT(info->i2c.data_bit); i2c->clock = BIT(info->i2c.clock_bit); 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);