Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp214218rdh; Thu, 23 Nov 2023 01:41:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFAwv/27XBXf+oEZ9dmuzTOK5rXQO0SBkhq0pQasRhT9/kzH72LZlctwmgY7bdkeJ0yPp/ X-Received: by 2002:a05:6a00:1143:b0:6c4:db03:d20f with SMTP id b3-20020a056a00114300b006c4db03d20fmr5560925pfm.17.1700732514802; Thu, 23 Nov 2023 01:41:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700732514; cv=none; d=google.com; s=arc-20160816; b=kIjp1cXuQt+wyEdccMcEGJXnivSXrzYrPXVRjbLJ4IHe6pJJJpMOzvXyhk2wY+ZVia scWDD5ftjwai2/alhnj5zt+Lv/BkkRNOGbUMuFDx8GPioaqUpoCf+roLXn0BlkUk9FBe enC+wdG20YxHlgDyBE/n7A4wf0+32zV86bWzwP/hshQlQFWKjs2YyS2YMSSTbxLymraw UT1K5g/oz8C/Y6Py/wpkMzNwV3/u8k1w03HN1Lx8y9Gm4N27tPRGchKLOZ4ttKwYkdCS wHCX9p4sZ9SB984yst5n9Tgn5I8Ao1TCCMXMO9ZcnsYB8gGXhSy9lbUDlpFpCCvQ4MmA 5p3A== 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=SLxIO8jymMsGgax9WMIUOf53Q8UCr/7PCCK8+C8vDXQ=; fh=U/xtFoefx0JKTW3b/i/v2NCzU+8ziTFUpef07ID7nI0=; b=xf9FxK/Q9aCSxG64PD/M3dNLjP1VWt0c5u64R1sGQ2/A7XLxhg20UhDdUgIAFSpcFd NIx3KH2ts0CHJMzqamnEanL5PM0KUHpGVnk1TT/z6rPTyoA27FcONbKP5YHjIDlkP+5M VJPESbdK7lV8deulpDIVRDz/bg+Xuwj0n3VRV6R1P5duon0qAxxaR/a9UoFLljZ/NRXV nSzW5rOP5XoMeTnGvA7K5FaySpeRQdTufWG+cQ65j1kEh0Uvt4w9Oh/j+ZTVMfm4Ro+V oK6k8ILBOio8oiChk1LYHzCnTQcGgoLtZJgXyPjemQibgEZmKnbiZ+wxwaf/GOuMZjTi uk4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KRT6B5vN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id v15-20020a056a00148f00b006cb6b7aa192si950141pfu.331.2023.11.23.01.41.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:41:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KRT6B5vN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 0DD478316EDD; Thu, 23 Nov 2023 01:41:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234357AbjKWJkz (ORCPT + 99 others); Thu, 23 Nov 2023 04:40:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232854AbjKWJkn (ORCPT ); Thu, 23 Nov 2023 04:40:43 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17C05BA; Thu, 23 Nov 2023 01:40:50 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-9fd0059a967so341008766b.1; Thu, 23 Nov 2023 01:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732448; x=1701337248; 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=SLxIO8jymMsGgax9WMIUOf53Q8UCr/7PCCK8+C8vDXQ=; b=KRT6B5vNb9OZULnQ00nQuAakY609BlZAiS4YXcROouyRv/7TkV0a5KpDTN++L+vZZs e4u2Rt2l0OKLrtQgtsGyIsaPQzuWR6eeAqSm71gEzU0FxQWX+Fqb+FE3hSXuZ4uzndrC T6gUay806gaoyKUNcmH9uit8KUNTJtyu+HfHgGjhsUhXcn6pu3SRFZ7dNh29IU2hj0qD 9lW9L8m9QnY4l1UjWLcf1K1JmlxqG7e5u5SyAZ1oj/3n80YgF6T+wcy3Qe3uRJNLHkLE YWzp/NsZvWOE9tVAewFjEtKBk+yaA+FzL1Fv9DLUjL+PeH4n9nTPqTzJGuQ+tZ9gmqd1 vbKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700732448; x=1701337248; 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=SLxIO8jymMsGgax9WMIUOf53Q8UCr/7PCCK8+C8vDXQ=; b=xUBP9mgihqxaNMYDqTMxdMDsxSZi+RK92M6VqyKz3/MLsQaSsTUC3lRgTqqpgDTOfx KFHkB5EtorjmPFGZlWCTQDNE1tJcrtiGJt2+q0TuA0rETi9KHR2Kh+91yNzyUx7hawae dwhK1nJGPDT5JHEgsifdj7xmgoUOAXnw5bmvznR0mWBrFEoC2Y5SKzC9L4lAvipI8H5h caKMu/S0eOsIUDO5FdJb3nYwIF5Os8IWqZYRIbvxrPmfgoLw2fjmlyS7vBKSOpABaDOa dyidd1YdLl6j3T4x18QIMKOOWR5TnePvon/1BepffwY++VH4aklRStG+7ZcMEoHuITHO tKUQ== X-Gm-Message-State: AOJu0YySMAEW5Yq8YeFMMf6CthenJA8+FOJoVmprvjMeb0jvNuqeIGxu GtvVVq0K1c89H74HAJ/PVVs= X-Received: by 2002:a17:906:78c:b0:a04:e1e7:d14c with SMTP id l12-20020a170906078c00b00a04e1e7d14cmr1773863ejc.32.1700732448312; Thu, 23 Nov 2023 01:40:48 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:40:47 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Maxime Ripard Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Chen-Yu Tsai , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Jernej Skrabec , Samuel Holland , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v5 04/20] drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c: remove I2C_CLASS_DDC support Date: Thu, 23 Nov 2023 10:40:24 +0100 Message-ID: <20231123094040.592-5-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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 23 Nov 2023 01:41:13 -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: Jernej Skrabec Acked-by: Thomas Zimmermann Signed-off-by: Heiner Kallweit --- drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c b/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c index d1a65a921..f5f62eb0e 100644 --- a/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c +++ b/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c @@ -302,7 +302,6 @@ int sun4i_hdmi_i2c_create(struct device *dev, struct sun4i_hdmi *hdmi) return -ENOMEM; adap->owner = THIS_MODULE; - adap->class = I2C_CLASS_DDC; adap->algo = &sun4i_hdmi_i2c_algorithm; strscpy(adap->name, "sun4i_hdmi_i2c adapter", sizeof(adap->name)); i2c_set_adapdata(adap, hdmi);