Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp215065rdh; Thu, 23 Nov 2023 01:44:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGm7CS9ASUnAcoc56yb/B4TMJEb93jPNicPOE2Ui1vusw5Q4eckWYqwhbP2fptiQO6gqTcL X-Received: by 2002:a05:6a21:328b:b0:18b:558e:9e2a with SMTP id yt11-20020a056a21328b00b0018b558e9e2amr3017872pzb.12.1700732653663; Thu, 23 Nov 2023 01:44:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700732653; cv=none; d=google.com; s=arc-20160816; b=WA1+ig2+9Q4QVxV6K1gcy3e/I+lAkPb8ZACfZLRxzjEuFGsZ34skTZXcL3jTdDJJS7 pikCGonUbyV8gUjM1z0wzx9DybMU5QpaaX1agGPA1jV1w9gw4bNy8dXGtDdxCY8Tdj2T jmEAx/QK49FA+GtOWiH9thBci28UYFUhTf5es6Chh5YCCtfTw8CwbkQOVc6fzd9K4sLo rfvlRqx3wwj1JNk9uYjdD8a7MIRSzr7DILxUrXHEYzjVEc7arTpkV58ZTJJAYBhFNVtu CYODUyQWJGUovgErpcHadiZuWsr3l1gz+dlP8LDL2I9ggVcs4bfjXgUhnxDfOElA7zr9 LCiQ== 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=YSszigu6T9QU12VdWtO4WfxwIpZgiTTUkpWgQw1TPZ8=; fh=eCxaT+OTlp9kYjZu6xeTC5sHQ1Viv0yb3S7Ksult8Ik=; b=Br2P3woBYILs2Q2e/wjlAA2W2vfnP6bV4pSo2fv4z2vLy+dZqO7MDe9NqH1bQNQkHb sBpTDnBVsdVCWtx5b/rfaZZJOFCcnqEXxQttnD/MLY10AwMNTBoNA+NrJwlFFwkekvNe pcq5KQthlBhbTgDl0vUdcPh+HWcyFtXzQCEDiCF27MrBN8p8K8H8Bp1PRIRSb4j/Eofg OJwZnikEGCrgSM2TNOLj3JkpxQuFuvx025Yf7Bi+lau73tcHrd0T90qCHT/6x5VARnvI KvBpATIltVc8GmtBQqZHaGKsXPnXAB5z9Yy9em3NLILzLtExJ974KWvg/NiFY0badNdG lLew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OVwoZwgl; 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 Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u9-20020a631409000000b005c1cc7273bfsi937976pgl.26.2023.11.23.01.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:44:13 -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=OVwoZwgl; 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 710B380B1826; Thu, 23 Nov 2023 01:42:08 -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 S235027AbjKWJlc (ORCPT + 99 others); Thu, 23 Nov 2023 04:41:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232939AbjKWJkr (ORCPT ); Thu, 23 Nov 2023 04:40:47 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CF62D53; Thu, 23 Nov 2023 01:40:54 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a03a9009572so79629666b.3; Thu, 23 Nov 2023 01:40:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732452; x=1701337252; 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=YSszigu6T9QU12VdWtO4WfxwIpZgiTTUkpWgQw1TPZ8=; b=OVwoZwglOywb8LudcE8l9Taw5B91vDI/Xx3E86YoRfHBu5WwPbvMDHC0uuqJN6qNgf KbUr2NIaSRqqaPC3j6razei9CupS3d/Qr6jwLGBusdcbtkru6uu7BK7uncvYZiYBYiW0 9+GmK0elaZ8SDLsBEhz9+4sJJYNbDJwTZnUNk1DGEBHYd3/OIw0yq+O4bYrIqv6+/6zF RII2JWLwNoyAy/jeRUjJz7H3m5eZmv2wlbA9zK1mgc8XAVPG+OZaH1uZ4WetsIYKMCe/ /7U408NBQhoO0cwj+OYEuat+S1urdbqbPbJLSREAZUc4y7XQB3wZTgeLZ7j3MZDmTbPy QccQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700732452; x=1701337252; 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=YSszigu6T9QU12VdWtO4WfxwIpZgiTTUkpWgQw1TPZ8=; b=H0Aa2ixMRRp2uYVJ0UA/yGa2dNxKS90UT9ua1SjzcuTDPIk4xng2y3tmWN2PGx8qIg aEGBK7qPd9wbF30cndQDOWE4kKtWW00OMuSqFNmXbAjkuTWBy/K6CR4f0axVxsgaHDhm eBnyP4b6BSpFU6SyqgmfRDvicaWUo9GotFqCfH6ihf0nsuPdKbmOkZhBQ+Yab5Pp7ste NztcdxLSqSgJIft9/iQJB5OQ6h4AJGd/o+udLlgm+T8hp9DB9ZagTXoP7yi2Ncnq9rvg desaqUm0ocx2nLqcjWsBshlcggW7WHr5SbcXu0FhYSc6Is7B/DgI8FwSAQ3KdbNyY6MJ wZ9Q== X-Gm-Message-State: AOJu0YwgEFfmNO8FiWOoBpmW45X7wd51zHBxfTuI2YOe2X2R8g4Aj/DE 05XBDuZcWZE0xByfzJTLu8k= X-Received: by 2002:a17:906:209:b0:a02:9c3d:6de7 with SMTP id 9-20020a170906020900b00a029c3d6de7mr3506760ejd.13.1700732452416; Thu, 23 Nov 2023 01:40:52 -0800 (PST) Received: from zotac.lan. (dynamic-2a01-0c23-c0f2-3200-2223-08ff-fe18-0310.c23.pool.telefonica.de. [2a01:c23:c0f2:3200:2223:8ff:fe18:310]) by smtp.gmail.com with ESMTPSA id s9-20020a1709066c8900b009e5ce1acb01sm546199ejr.103.2023.11.23.01.40.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:40:51 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Florian Tobias Schandinat Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Helge Deller , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Thomas Zimmermann Subject: [PATCH v5 09/20] drivers/video/fbdev/via/via_i2c.c: remove I2C_CLASS_DDC support Date: Thu, 23 Nov 2023 10:40:29 +0100 Message-ID: <20231123094040.592-10-hkallweit1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231123094040.592-1-hkallweit1@gmail.com> References: <20231123094040.592-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 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]); Thu, 23 Nov 2023 01:42:08 -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. Acked-by: Helge Deller Acked-by: Thomas Zimmermann Signed-off-by: Heiner Kallweit --- drivers/video/fbdev/via/via_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/via/via_i2c.c b/drivers/video/fbdev/via/via_i2c.c index c35e530e0..582502810 100644 --- a/drivers/video/fbdev/via/via_i2c.c +++ b/drivers/video/fbdev/via/via_i2c.c @@ -201,7 +201,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter, sprintf(adapter->name, "viafb i2c io_port idx 0x%02x", adap_cfg->ioport_index); adapter->owner = THIS_MODULE; - adapter->class = I2C_CLASS_DDC; adapter->algo_data = algo; if (pdev) adapter->dev.parent = &pdev->dev;