Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1590329rdb; Sun, 19 Nov 2023 02:17:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFlduU+i3q+gd+Uzqg6GhNmOVGI4iZH0UY1zvUgtIm37o1jiTPT3jmvFKUBGV7nHNu/Ye3L X-Received: by 2002:a05:6808:3a10:b0:3ae:bae2:fa76 with SMTP id gr16-20020a0568083a1000b003aebae2fa76mr8698517oib.36.1700389035622; 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=xjg4Hi03k6kHHC9c5QP59o/K7aFpMAFRZjzUfgbFZVXOg/AUt4lxKMsOWSdk1PONgy y1A63gl70wpT5gYBGnabPyf67N+2Ge7etIzUI9ZSpQXTLW+hSh/gOSfPRCWPUNiRcN29 pr931aC7MUiRQ8Qo/TBrdui0i0khtNnGtL0yRLe3Gk8yxDSy6igJzikH7P6SAtCI12Nb fjtHGnQ2xjVi5qh726FEftwg5JQDuaeH2hB9k6BxIvvyNKZXbTZYWFh++n46T+vMPjMj OzAWKWFAJ9mqEbBpPV0kpc6a9re8cjMDrcrTJuyvHQvnKnyn5loQLZpugljiEH26ptE4 3GIA== 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=JTrCOgNzORg+kX6P4q5KSwq1S4WQ2CSsbEPwGEitBjk=; fh=U6JtSdc2V4fDelmkk5J6nFAwnEN3kDozrLcFGzNdTW8=; b=UE/2CB37of0Mn7Z5vvLuybskJnDUdMTOiflb8Mm+NIT3ZqiAMiWJsdmdoTIJFtbo8p +20WQTew3xMilEMqYIEK7lvV+EWP6H4EjQKnNi86AguGG8aXgyHjWt/dg2dNQjb9+HfD mGBk9Qi5QMIc3GALZ97UrK/Y5iBD9KFL05Zkdtat6b/HHM9istIkqfTjzhfHVaD2JN/F G1wTEhHF4B6kXR95Oxcr5biPSqoNHW3oMWEGoA/d+jhTysqsp6uMBkWZ0Pwj2c6saUz5 5/cDHDC6gYR5uDIaOGZvVXhV8nROHeX5GRVUMt5Gd/SZufAizbSL8Nr4IJA8pnP08eQo hKKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QTY637og; 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 j7-20020a63e747000000b005aa6c0aa22dsi5937587pgk.724.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=QTY637og; 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 2C8AD807C854; Sun, 19 Nov 2023 02:15:40 -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 S230525AbjKSKPM (ORCPT + 99 others); Sun, 19 Nov 2023 05:15:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230407AbjKSKO7 (ORCPT ); Sun, 19 Nov 2023 05:14:59 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AFF1E5; Sun, 19 Nov 2023 02:14:56 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-99bdeae1d0aso471890566b.1; Sun, 19 Nov 2023 02:14:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700388895; x=1700993695; 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=JTrCOgNzORg+kX6P4q5KSwq1S4WQ2CSsbEPwGEitBjk=; b=QTY637ogyl6fV3J6sSZXCo4WD1WykxFeUdP6G5TOM/Rn2hq1UW7jXOzdS+U4hBmcwL 0+3MNQIB+dxqzEzlOmqzUsx7RrL5rpnjK4e38Qn9fjx2UhLjtoU+I638R6l+SMsy3PRM ET+TADO0g1uUhnbZkQzugz5L+OdS/tPRwNsVKGMikO8edjAbeuz1u9JMNj0QNawSZI71 XQ16sUxqu6qQKneyg4eGVwFv4GGF+pHKMN+Z/KAxzjtpEMEGZ1+LhWO7691XZBYNi7aA g+LCzaUJntQztPJXdYad8vrAJXIwT4KuvjJ8ZSbNog8OL1wXcCdSWIePDAGnP08rnUht FcTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700388895; x=1700993695; 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=JTrCOgNzORg+kX6P4q5KSwq1S4WQ2CSsbEPwGEitBjk=; b=WEx9BTLzg9JhOhH/Y7tdSKD9vFL5vrPFln++GepAenzCQyIXx3xPq8GmiL54HTyHr7 jHUL0FNh3tN+2YMznvmFGmWfAHiYcB94eVxOo5cWJpouA26Jf/Qrm59Vcws0k6YXhpM8 fJxndxNZa8B/H1/wThQo7HVqXyuBPebLMx8MLsxN9zPH5xR1AvE9QyFUPy1FlylmRxdo YFhv/CVp02vwIx9BGf8enzN6fHFpraT5IiKviO1SuNNnMH+ELaVURuzPtswSMqZtJ0NR QFP2LDfdFOB9CrEDmPIP76GRne5npG5cNpjFeBvvxnlSCbtFyxxj91tkcaKsCDqOdYba vDMA== X-Gm-Message-State: AOJu0Yw+5syKZGzp9cF04jd+ODSbW+c0BfsvLaU/dKsLxQcTc2UurwxJ 4rjTtjOrGnMoPFEL5T3lQ3lrlEmI0mmz5g== X-Received: by 2002:a17:906:74c1:b0:9fa:fb8c:3904 with SMTP id z1-20020a17090674c100b009fafb8c3904mr2090466ejl.65.1700388894616; Sun, 19 Nov 2023 02:14:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 02:14:54 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Daniel Vetter 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 Subject: [PATCH v3 06/20] drivers/video/fbdev/core/fb_ddc.c: remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 11:14:31 +0100 Message-ID: <20231119101445.4737-7-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/video/fbdev/core/fb_ddc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/core/fb_ddc.c b/drivers/video/fbdev/core/fb_ddc.c index 8bf5f2f54..e25143219 100644 --- a/drivers/video/fbdev/core/fb_ddc.c +++ b/drivers/video/fbdev/core/fb_ddc.c @@ -116,7 +116,6 @@ unsigned char *fb_ddc_read(struct i2c_adapter *adapter) algo_data->setsda(algo_data->data, 1); algo_data->setscl(algo_data->data, 1); - adapter->class |= I2C_CLASS_DDC; return edid; }