Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1590331rdb; Sun, 19 Nov 2023 02:17:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqKA522gZxQLXxnYIgHNc3XU4tLV1+hQiLjx8J1mmnxiswiQx0yWqeuVIxqPsoLf1WzpbN X-Received: by 2002:a17:90b:33cd:b0:283:2873:88ad with SMTP id lk13-20020a17090b33cd00b00283287388admr5953462pjb.10.1700389035880; Sun, 19 Nov 2023 02:17:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700389035; cv=none; d=google.com; s=arc-20160816; b=TyxcY/yjeGWjXOefmeTvwCQVOvS4xE6b100qNJhTTo9vudLN7wHRBsZ+uF9Tv7yeC8 TUT2/RnuU2445H1keyhaZZhK17jYzdmnWfrgYa+VVfF+BOFic/aVaQiau2Ey/kvjisvY pSuCEO5Ifs6mOK1/0BWvfoCC+SOj2DSG5vj0YG2JtjlRnluJF7bCaUH45z2u/NszJBq+ W0p8yJRySDbSXCblYlXSljfetzWN3ITvIghMhRQN5uly0Pat7lT7m7DOEMGIoq/wKAct yI0ai8+BhsR+1epXaKZ877Nd3DncMK7DkrTsEFdlTF4TljWNr5YIbMnGH1jhTljnoB/a Z1KQ== 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=suS4LCfsusePiDPKTqW40E2H77s8OXx5HVyNs+o+yDE=; fh=a6ztH+3LNb2nRE07BIDDB8tF6OleI3Oui68a9ihlflI=; b=WKn3LBJrhN7p5La2JPruXFIh/uxjPoPKS7jy/6Gb7Wo5K/4mg6XRewyzBkQ3gguqTg 0yzmnc7P+MdZAugHggsVKhx9nkEqMgAIXjXZUamCoovaoBKhQfNQ/5QVNyG7mUd5Z5t4 1ajFALi82PJDTMG8fJHF15p4A/poJgcYoYN9zOkdk5dRHKvzOWROKkeaXUy9BUDTSG29 5IDDVGpr3N0FoP/C8KL0I4hdjRLtO1RzPDRnae2v2+rGMGchiuHWhDJtWUYyB1t+QA9j g0Ql2QkqPyQwXMdhe2l2qXXePJdHpeNzhuFRgBRiZujqHB+cbARkXnPN6CyhgrPJ91ZG jPCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FbRoarWf; 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 bk14-20020a17090b080e00b00283a251c077si3757241pjb.94.2023.11.19.02.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:17:15 -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=FbRoarWf; 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 83E8A8065023; Sun, 19 Nov 2023 02:15:42 -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 S231171AbjKSKPS (ORCPT + 99 others); Sun, 19 Nov 2023 05:15:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230437AbjKSKPB (ORCPT ); Sun, 19 Nov 2023 05:15:01 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0420C12D; Sun, 19 Nov 2023 02:14:58 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9c2a0725825so473208666b.2; Sun, 19 Nov 2023 02:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700388896; x=1700993696; 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=suS4LCfsusePiDPKTqW40E2H77s8OXx5HVyNs+o+yDE=; b=FbRoarWf0cVzL8adg93LLBj4XLV4DNzvQrfDAuaNJAMbAlLkOLk7ZsBoITmqiK2YBY PMYfidAGh2P2AjwVytKHMrnx0Od/4i/Vnd8l1H3pqgXRFRLNxA2F7aV5Jr8QSHJrawQ0 4ZyGsWCs/uQfUdTDqJxX2r0ZFXUj+5I1K1WhjkUlFezq3YNzX1A9dpBtUMS3X1ZXI6iT pQvetbuQ0++qXqtdSTKEJWegXo5E0iI4bb+8twPuJL+dUFX60poQiXZInVtC8jyXY9+5 0pOcU9eDNMThC5+A1ONu0uFJiG62TfI3fDYcQgGKX2RyOcVjSN0itcU2Us1LhWMiC67b Eqng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700388896; x=1700993696; 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=suS4LCfsusePiDPKTqW40E2H77s8OXx5HVyNs+o+yDE=; b=CuC3xJKYPshCuFJ5XSSUgf79cxilrUrq/yIJ5x8xdgmaIcRJ5H5N5UswO0aGt0Wxb3 IFnsSpZQes7LODaNYnQ1kSmiofVGRzJoz0ib1FexH/rF+pDubTglEKSPOF7pvB4haLXZ ZVgUqe3CK/d+x9JqC38WUd0fsjWwDAbZaqZ1GLvMcA1TXh3+CMhnrPeAusycpflzeZ3X 1Jf9Eg681wiz/ekFUe8zFkXmI0idQBRcL6rnIdvPK6fOCT6EhURuad0deabPlUto/S6B nXM4IDzcyaieMDw+6qToLzxMpM/c9FUN2zFUXedxs9YREnRoBApnRDqboESUcI8Blg3c TWJA== X-Gm-Message-State: AOJu0YyfNSMpXCGT+f5XkLwCZZ8C8GB0qKe54sHJ9p7GBsClZf/isUOm 5pICJpzgI9AsZJ0fCmt3vhA= X-Received: by 2002:a17:906:8f:b0:9c7:5db4:c943 with SMTP id 15-20020a170906008f00b009c75db4c943mr3606445ejc.40.1700388896314; Sun, 19 Nov 2023 02:14:56 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:14:55 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Sui Jingfeng Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 08/20] drivers/gpu/drm/loongson/lsdc_i2c.c: remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 11:14:33 +0100 Message-ID: <20231119101445.4737-9-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:42 -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/loongson/lsdc_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/loongson/lsdc_i2c.c b/drivers/gpu/drm/loongson/lsdc_i2c.c index 9625d0b1d..ce90c2553 100644 --- a/drivers/gpu/drm/loongson/lsdc_i2c.c +++ b/drivers/gpu/drm/loongson/lsdc_i2c.c @@ -154,7 +154,6 @@ int lsdc_create_i2c_chan(struct drm_device *ddev, adapter = &li2c->adapter; adapter->algo_data = &li2c->bit; adapter->owner = THIS_MODULE; - adapter->class = I2C_CLASS_DDC; adapter->dev.parent = ddev->dev; adapter->nr = -1;