From patchwork Thu Nov 23 09:40:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 13466020 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42EB7C636CB for ; Thu, 23 Nov 2023 09:41:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6RLi2hDmeZQVYiHuHPuoBM6eSIVprHi9XmnIKrdWzMk=; b=gqnUY2WVHzHzgQ 8ylZwC6DhntoxiYMPTy4R80Mbh9YDsINJAtHHyIUU/V3qAsMdyx47BdC/Mnqe7Ny+9wwmeJIl2rJ+ 3Ubld+4WJuRswiBp8xM8Cc7w+iSLNxwGlJVCbQE7RKu+0i92t498pdDkxpdQC15HKqSOdVzhbEurQ 8BGdKG3nEN9+CnYc+r2fCnSznIlpF5tisN2kcE+FDhrmo1pbYIg4pJrsFpgvP4KFup9k1FD2blMGb 94KtjrE2TrwmmGIm5csTvowSfmIVQcTlKMNxC/0uwgUhheDDTj4FPSTLWXUpJXpmeWgG4E+xI8ndR 05JKuhFNZsuItvXTz6XA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r66Cm-004HbK-0R; Thu, 23 Nov 2023 09:41:04 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r66Cd-004HVy-1k for linux-arm-kernel@lists.infradead.org; Thu, 23 Nov 2023 09:40:56 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a00a9d677fcso81663166b.0 for ; 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=lists.infradead.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=nDLNsVVixSaLYb3nyJIvnj42NexKkaqm0Y82HLlssH45xmMV9MbvFSzMRRVCV+Agfj uSiSh4SoLcQR5+ZG7BZJd1IyAHKLoloov06BqRh71qAcLmCYhrTeKigSMBc/nMyMKuon xmdVlkMeRM0pghcxzuGItCK7yFyVmzwYV6eczu58nWalHxOBvUkOoQ7dtbugyB3WzOOb Gt2d29qcCjdV1vMCapBZUt/WNN0f23N9JU5dVup8scNyMBcMj8Z9gViNxLH1oIWgChBn Ev8gPF91U4oS8igLFzHSNtFtr9ViAWFBNHBrPrqVkbn769Y22B8Y4WTeQy6yvl9zcfNs q6iw== 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=MN/Rj/pBkp5jZkpBujyKHxe9Uoiw6lEzFjNNAHqxUCZG6qdk5imuoqYIeFiK32D+wU D57ck5rYYREXJtwErr5m5DoCJiHMw0qFcc+tuajzRy+rbZSYxGZRk3aPgCfqjavx5+u2 MhwuqdgFul6t1KDzJd/qJQIU9tCJTc735l1J1Dw/cVcRDgzfvEzbdGQC32hnPqTOT79/ kxBbbjJ6UCW//EKuRaTHsMZILf4b7vSusJvAtDN51gxjrQG4epQG2CVzNec7rzb7X0um aSRrrpbnYSTgxerwaO+mtjNDv417ovhyLe/wR4+bMKQD4vuvCaVNDG4axvV6Kh+5LwnZ wP0w== X-Gm-Message-State: AOJu0YzXKSqPgN5tOpVrT2/b7bGPMt2fnDEDYDQwMRyrcshmk/wb/mR9 3CBWe3m/9tGrZtPPj0qIbrU= X-Google-Smtp-Source: AGHT+IG2ldSIvJkPOWRUMwqptBELwha4P3UEDAWFeFhYxPAf0Hq1Cr63BHUft7JxbUZhAWi2pEm5Tg== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231123_014055_579887_EDA37FF5 X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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;