Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp214278rdh; Thu, 23 Nov 2023 01:42:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1CE+4Rsy38336vifxjdoSkfaPav7UMMj6QRNq/8KNhTFyaYLPBmkMeKl+SOwwGE3QBLrm X-Received: by 2002:a05:6830:1d4d:b0:6b9:3f64:4e8c with SMTP id p13-20020a0568301d4d00b006b93f644e8cmr5871405oth.9.1700732524506; Thu, 23 Nov 2023 01:42:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700732524; cv=none; d=google.com; s=arc-20160816; b=a4dcGPLKOtMbt/7pZcF2CDceCqj2NToFWcXzubDmjxyN8HYoV1P2GZ0v78ThJ3RwQB g/4NYIocPHujVjp1UY9Grwr1FgdphWV4Hq3RIufkcG5CX0H7B2SOYt2z5n6sD8mlp97Q H/440f/Q8q+8N/XgbJ7Sh4fEy3rD6kSYmlMCSrKd/nsFut7eZEw5sqxKtf4JtZ0vwdSQ SrXxsxs9ovZ9knHUyAAQM7C+/L8Ya6958O/6UBTygFaa45kkVxRODIMZn3PT6Hjcb/V6 1qWrxA60qydUYFwQL43qi6w1CBBUcCpc5xw9H5VHZgQyta+SqdJFaQKeC5v5kPQW+/W5 ba+Q== 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=T4xwkZlQCS57rh5cLLkPqLJtM9ewQjK5YT1ZnNRRYzc=; fh=vL+x9cJn/cbpVEEVOUT60TPhzA5/lZhQ6Y/JTjo/Q0Q=; b=FTVIvPTroLfFqI/BzQt99KXQFs+S36WonXSNoW/lggbEFBiQ+1nsSpTKXNXrkEtsM1 9eEgwKmYtAUc3qXILZ73GPuSQ5dh/9Pecnm0NImbt1qh/1+hApQAjhXMJos1CMtJhIRF exiQZvNq1JmbX5guf5HGkB2MsQwIrUmX6i3rczJMSP4QR/6ieGWZ2bMa0/TgPwnQYwoJ rEuBIkM6gpgfWuNTPUNarixBLxlfOp9ZsIDm5UTEa00Et0X7qUzg9CFgcFqgQh6aef3M 6bphqjvZE6gI6AFlfsKZ/DJqu7yuFzYu8MbOyF8/73SyIBWF/pUyPRlmq8zsiXLwvpzj BDEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=L+nUW6jo; 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 r9-20020a632b09000000b005b7fb04f1f9si945726pgr.734.2023.11.23.01.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:42:04 -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=L+nUW6jo; 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 E8A1E83C75B2; Thu, 23 Nov 2023 01:41:46 -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 S234724AbjKWJlI (ORCPT + 99 others); Thu, 23 Nov 2023 04:41:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232839AbjKWJkp (ORCPT ); Thu, 23 Nov 2023 04:40:45 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EB6F1A4; Thu, 23 Nov 2023 01:40:51 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-548d60a4d60so849427a12.2; Thu, 23 Nov 2023 01:40:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732450; x=1701337250; 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=T4xwkZlQCS57rh5cLLkPqLJtM9ewQjK5YT1ZnNRRYzc=; b=L+nUW6joC/xY5dKblIyi4QUSjOUDmSummlD50kmpmvnKsbLdts8gvFnkTVBCnuFb/6 jvDUa+mU2fT5xI13X5qdHyN5GQOVeAdMmfUcO3fqx//OrrwIhVCdvEcvqArpJUswQJDR 0gOntavuQvMPOYMnSzGJHxph/9PRf3M5thVawQ3/a16iW76ZG39QWiWhsoMF3q8b+/9L wcL/iCpZEZFsnofPAv+FSwKyKy6SzD4Ij0UFboPXlnuizKZbpAYr9yE6V1mP3qjt+yPj mRZZ2gHW+B+y5QIRW5aHleiJ0D2AQN2kdp5Zzz99w6ojS9u4lYpE99LIhDT6WInoSazG PVFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700732450; x=1701337250; 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=T4xwkZlQCS57rh5cLLkPqLJtM9ewQjK5YT1ZnNRRYzc=; b=qbHUg3pHITKq/O33T+GjhyKJQt34XgwKqR/DXK3BNGZc1B3My1jalA2R1IC2Uf6p6f HQW9G8Jqn5qVeCAJnBnxOI1AWF2+SEiucu7Wtux3z+7Q9eVHfkoi+e6XbDSr0id4GlQ3 ykCfCv0Gxbd8adRfwFdjBQ/qvbSrFQfgzQ/Sy1hdt5/CdPeOwwlZ2KXPBdL7mdLkD16k +meK4Kdjap2F6VVRFb+YA/neyGVBKoMl2cW/QbY/Ck2wqx48Mve1KIhRZvUoTUSFSx1i kOo2/UCt8cAzkuVGuSSdBUz1khzTPouPK7Mi4Hxtylcy70O6n/0PEwoN7AuvVNa3+RD4 6onQ== X-Gm-Message-State: AOJu0YyQ0MHsCh4qypVKADA8FGC9xpJTEQANL+6OqOdZidZ9b1Nza+Cj nKRmMsAHWj3rME+oWlGoqCo= X-Received: by 2002:a17:906:7197:b0:9e3:5c27:8862 with SMTP id h23-20020a170906719700b009e35c278862mr3223427ejk.27.1700732449746; Thu, 23 Nov 2023 01:40:49 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:40:49 -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, Thomas Zimmermann Subject: [PATCH v5 06/20] drivers/video/fbdev/core/fb_ddc.c: remove I2C_CLASS_DDC support Date: Thu, 23 Nov 2023 10:40:26 +0100 Message-ID: <20231123094040.592-7-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 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]); Thu, 23 Nov 2023 01:41:47 -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/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; }