Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1613896rdb; Sun, 19 Nov 2023 03:29:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcBBYpvzpCo2PLgRuexwkVmr4Tnx3E2SACoCMBIJbHjndtY9ba+AWcYamE8ISl9pvc4nh1 X-Received: by 2002:a9d:75cf:0:b0:6b9:2869:bd81 with SMTP id c15-20020a9d75cf000000b006b92869bd81mr5469830otl.18.1700393362155; Sun, 19 Nov 2023 03:29:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700393362; cv=none; d=google.com; s=arc-20160816; b=OKCE+r53aISrHBpDrZJsnawPOTBTOs2YrouJ0Xq20cNfGF9i4Wp6fOGGz1GhPvxqZo ra1tdpYFc5hn1eDLNV8aUJA3sEjQLoX3txpH216Wa4pqQJ7WboZwgmIDSu2Ce4TQrsrz S4QxIExgGeVp0+oi2b1zcoV5YL6O+3xU9/+YDxav1pH0PC96DNvhCgD26Y987/RZ9iLL DLpwgN6h4KDASdxWndh1L6Nnw9Chd7p6Tl13fX/qycQ5J2RorMrtVA6PueLY7pqw0zEe BTI3xIS2gNzbnc4Igh7g91XwJBHKUGsa1mlZ89M6OyOXRXH78u/hFmWpBy5XA85hMjke OX+A== 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=ytLEWfwPHoJppBDdyA1IPQIA9vPKStPYifkTdLoVkMMNbnY8tlwAx3/M6GX3ZK6/Un kLh6A/ok6VyKJupw1p5r6eNIF4y1sn2Ze2b/Y33qlKHyv7WyGsTTEfueknZKp6cUTKFu /t7220P3Z9Nyo3SMceuwTacBnmvV7rzS6YJfRBSucvI6BmCkPjad3k3Uh1hkEs5O8xaZ E8DDXpYJI0hGfFmAcErOCcWPmFcYtY+Jpp7di5LoF0JkcnGBRlqQaSFKIF5734a2BB9Q X7r68JQSOiRtJ33ya8knfZeX6/HcMyf0VKufsp/KcDzlRSaVx7RZ/r1jydnzN7ydRMGU DTrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jpgBkGWJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id z2-20020a631902000000b005b3bcd9d7f8si6094972pgl.808.2023.11.19.03.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 03:29:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jpgBkGWJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id B4FEC808EEE2; Sun, 19 Nov 2023 03:29:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230499AbjKSL2k (ORCPT + 99 others); Sun, 19 Nov 2023 06:28:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230439AbjKSL2g (ORCPT ); Sun, 19 Nov 2023 06:28:36 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C5EFF2; Sun, 19 Nov 2023 03:28:33 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9df8d0c2505so656999666b.0; Sun, 19 Nov 2023 03:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700393311; x=1700998111; 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=jpgBkGWJLNfEHGV59dqvMM5JpWunYMkuELAYzJ+EzVCosANHXSrjMN+HEc3miQtqbA feFw8R+imHJ9F4iEW401Q9LYPNbU0ylpws3xJ/yRMy+R+7mELyHEocNJLjjoHNqzHdRm kcL870MtEB0i1ekNcGYUN+jz5UfqFHQjAn/JeiA6ro0IhMkjzYCPwPuWaE29gD+GKm3+ PQgcs5iVE04kXphCjv4BqluPfTKZR94hD19hkuW5dg5mJS1TTAhvRYl3dl6rx2ju2yaK DJW0AP0lzpXhUTb9zaX47U/nSyK4D6bAshcHA3uQI4jv4hrDnHNOw7XXPjHDCvtQIVOt ibbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700393311; x=1700998111; 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=Qqy78k5pLgZ2j1zoPrHW6d/nlY7U3nX5igSZSbk8K+3s3sQ8DBM6zTiw1SwUh1wdTo eMcDZVsdN2RwR0hsM+gsAUd0thPoDCoL2LIdND/JxG51s3AR1dCxyrxavD/hUvf9zcQT xTD5XWtDiiECmoL7+/aF3YQYFz6Ho+lhY4dccwv7sOPHfJ9ZtBSM4Avzv4UKzOMU3E0b PdQjQWqQduAsv7+oTSXw+ZdIJQaN6yd9ou3kvMVGREyPK9ZIWYBseVcO5CBar+GU/TyM AMuLeJ4yNzsLUPYUCT3VwNxKV9fCJta3SvwoIEM6uwMBW7mqsmzvPS9o0v0lY0s1nEaf FKnQ== X-Gm-Message-State: AOJu0Yy7+EH76OOvNZndic1fr324xI6p0JD29HDjCCDZTRM1uptf3oy4 EP+2wWOnToys8x8cABsXwy8= X-Received: by 2002:a17:906:2215:b0:9a1:f1b2:9f2e with SMTP id s21-20020a170906221500b009a1f1b29f2emr4088533ejs.2.1700393311373; Sun, 19 Nov 2023 03:28:31 -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 k22-20020a1709063fd600b009f8af454d0dsm2420378ejj.112.2023.11.19.03.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 03:28:31 -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 12:28:07 +0100 Message-ID: <20231119112826.5115-3-hkallweit1@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231119112826.5115-1-hkallweit1@gmail.com> References: <20231119112826.5115-1-hkallweit1@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 19 Nov 2023 03:29:09 -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);