Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp215077rdh; Thu, 23 Nov 2023 01:44:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEoCEgh3TJO6wPSd5lGzA5wBbI6PyKgnh/bfW/j3sbRGab7tM/g6OtJ2M82jZrFPlRJbJ0Y X-Received: by 2002:a17:90b:1a8c:b0:283:2a1b:b18a with SMTP id ng12-20020a17090b1a8c00b002832a1bb18amr4822704pjb.26.1700732656360; Thu, 23 Nov 2023 01:44:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700732656; cv=none; d=google.com; s=arc-20160816; b=a2E7Ibn9f/eIz1EQyVGLXSVKfxK8sn2BtI4cHn/nSf64azudD0AoG/b3ikOFrZmxxb L3iCOGs68Lq0dZua1rvn2RuNUzVPIIaQyluaTl7rVcXc3rO2Uow134+U+EYaq1rr66SS FHTX5W7gW0ejvx+Ib6Jqc4Xx+Ya/LR6D2Uvrh9lU/0kMAXQDjKB3KeJSROKGBwK3zCp5 krSwiJnMEsdd419ubSmyEBd/Z6cW2lmipcFnfKNYGGJN1UmxQsEngnTG0Lpfl+nHEcy7 ub7qOU03wZQ1mLW8KXL5LFwIIgOUEhpWYeKVNP1UeEMq1OLM4+EuABOX/TSN2zsl8sb9 8x+g== 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=1X2LDaMbB0c5HZoTNyhIjHAhgnohEDN3uV01ROjEnUc=; fh=inTw0Zy5/0Sbqz1AVROrG1Iwu8aJmXDwmSlFfnqN9Ac=; b=o0bkC2FT+0FKdiRBR7haR5j2GxnPim9TBbkZjPhOh4XYon2YN53WGPNdxMAon3cw0e nzuaadqpnPUixRAHW7pqPZaGdKteO8d629RrzPwWsWHO1jlPRuKv9aRuUFlzSGqk8r3E 8A7mpk9bKcxG7CM3SlvogefG8YNx5m7mSQWGg47vSVI8txS6d7VIsXBMxX8e+HDkbrCz Lwqzd4cZ191NyTQwKtbGjrH9yHplIDBafNzU2vLc2nHVLJCVGmW/1jiuUHvCYx7Ba8pB 1VoiTNctrLY0fqjh04KrMzt8XiHf80hx5uJMAzfT5aKpZqPPxHSkVFJHiBrrXPIqktZO ycxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D0aDHZ6G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id jj14-20020a170903048e00b001cf688a2854si808535plb.371.2023.11.23.01.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:44:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D0aDHZ6G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id D93EB80BD50B; Thu, 23 Nov 2023 01:42:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235289AbjKWJlg (ORCPT + 99 others); Thu, 23 Nov 2023 04:41:36 -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 S233995AbjKWJkz (ORCPT ); Thu, 23 Nov 2023 04:40:55 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26FC01A4; Thu, 23 Nov 2023 01:40:54 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a013d22effcso79270466b.2; Thu, 23 Nov 2023 01:40:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732453; x=1701337253; 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=1X2LDaMbB0c5HZoTNyhIjHAhgnohEDN3uV01ROjEnUc=; b=D0aDHZ6GvGqBNZyanabWGNj9zDgGbkkjWPxW3QCsS0g4G3eIuqN8hsj91YkgbcDm90 Dr2YRdN2djdgcsUPjEDHqR/nm9CrKcPXi74tqT3B9L/0qRipn0VM43J/faMcAiZZFLNv el31maAxsj5ba7rJNsvFgdoyuErKiG5G9aL4gM5/FB4bL+IMd6l7f33gqEm8ZHHFJd3d 8DOYph1l9DwAy8+2nSMQRikv4KByTCHuMVcuPApbb+1h8mOJfLs2fds2Dxq2QnraNEWy r+i0t/kyzp6A97tju3a35qv53I4KTO+YTzf3780IES1uTvIxJY1RBAREvO3IpowxMaD2 ci5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700732453; x=1701337253; 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=1X2LDaMbB0c5HZoTNyhIjHAhgnohEDN3uV01ROjEnUc=; b=j7xhLO8o4Dipjsf8zjT+isfcUm27Wohyc1Nhv68Yw/WHG348dyn1smBrLeEbf1jrKh m33Uf2hz32t24vQDgWrkww7vv3fIKrnr9nEIZKMaccVpFloefUrPXnTrmJykhInJEFrv 6spEFAyiPjmFjz08o5DHjCa+Wry04S7b1nlyQKTn1PBD5yevLduTN2bn6dkr4Txmm2GV 1VHFwKshXf6Ss8T4nvkMH23RHI9ky967sXH5ziOV/RCsa+MqIGjqfhglgGXAiwISc9Jq psXORKA8wePMbmHrKUVXoVIrxzczm2mSuw3fem42NsiMoteTTT9QrS5ZT6hS6gGCPaa/ yeug== X-Gm-Message-State: AOJu0YytPhZXXuJU3JpIftQmqssyO3wKaFdivm6QJu8QvYx5VrNPunCt e2fRdMD6YcdFbH74gJoCdaekw2Zlwnw= X-Received: by 2002:a17:907:9382:b0:a00:9550:b08b with SMTP id cm2-20020a170907938200b00a009550b08bmr3262185ejc.24.1700732453321; Thu, 23 Nov 2023 01:40:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:40:52 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Russell King Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Helge Deller , linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Thomas Zimmermann Subject: [PATCH v5 10/20] drivers/video/fbdev/cyber2000fb.c: remove I2C_CLASS_DDC support Date: Thu, 23 Nov 2023 10:40:30 +0100 Message-ID: <20231123094040.592-11-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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 01:42:05 -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/cyber2000fb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/cyber2000fb.c b/drivers/video/fbdev/cyber2000fb.c index 52105dc1a..79775deda 100644 --- a/drivers/video/fbdev/cyber2000fb.c +++ b/drivers/video/fbdev/cyber2000fb.c @@ -1234,7 +1234,6 @@ static int cyber2000fb_setup_ddc_bus(struct cfb_info *cfb) strscpy(cfb->ddc_adapter.name, cfb->fb.fix.id, sizeof(cfb->ddc_adapter.name)); cfb->ddc_adapter.owner = THIS_MODULE; - cfb->ddc_adapter.class = I2C_CLASS_DDC; cfb->ddc_adapter.algo_data = &cfb->ddc_algo; cfb->ddc_adapter.dev.parent = cfb->fb.device; cfb->ddc_algo.setsda = cyber2000fb_ddc_setsda;