Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1375833rdb; Sat, 18 Nov 2023 13:52:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IELrj9UBiPOoeflr2P5NXa7hYEEPmRghxZsO8gMsvPdWXVOh2xdyM2sJMBYzjXEQbLxktRW X-Received: by 2002:a05:6870:96a4:b0:1f5:ccc6:36 with SMTP id o36-20020a05687096a400b001f5ccc60036mr3978872oaq.36.1700344353793; Sat, 18 Nov 2023 13:52:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700344353; cv=none; d=google.com; s=arc-20160816; b=g7LngMv12UI9JN53+PfWiTGAp0+2DLC58VN21UUPe69EAaU3+FD/VtawR1o8Rw/F0Y gGTJa92gFFKLe0STNqbfbnEwd7RIjiCYOHRcJBR6/Z/PNcT9XVObeshkUVktuPjUZvuJ KeZZMlU64my1+aKF9XvC7XeGoI4BPplhRMCMBU62BVf4mzOZ5ODWUbcdQJG9kgqm/Vio 6ssYlD1cBf1jEXDcYONr5mclcsd+MeEpB1K0Q+aJiHOfbSmOTO9j1eyW5yvbh+dGHxDT i3aAnqf32ogSoGOziNed+rCNHmNTWqlPsiH4Iuoehc/FhJQtkqJ5C2W9p75TxWp64kkG P6RQ== 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=tu8B/DrosgiV85GSiOsUY9FsBSgQ5Nsx1mRRxIDJDOU=; fh=V0gbcGyKUSlLkJ8Hv+WXPVmbeP63lHX1jV9/S6Ao+Ss=; b=E1DeTse9eNzYJr2sSmJhd5rNrpJiIYMev0Ga+/caAJ54YALo0octwTBRyoHTkzJyil kVsF26HaM/MfZT06XJLy4rhyHNjckw0H3pRDEf0gnqIVRbHxF2kG7EU18lXmPa5AZVnk xNrj6c9gXTv3mR6wZmkENRT7LvskZLXwrDmCdpcZXnkTYSTJJXyutvAZyzY4bL+bScQw pZTfoR6SQr4qNTKlWHwWIrnCrir/DCFaT7Slu3jQji55o95tF9FPePAMCEuIG608GfVL TUKkbPhZiNAQNMR54BKFlkdFPQaizocLL9zjzl/A9/iTXWf9qr8w6LHH/xufVg7F1ftV m5yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="YdS/6sVM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q6-20020a17090a2e0600b002748c1bbd79si7443479pjd.6.2023.11.18.13.52.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 13:52:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="YdS/6sVM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 78262805649C; Sat, 18 Nov 2023 13:51: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 S229791AbjKRVt7 (ORCPT + 99 others); Sat, 18 Nov 2023 16:49:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbjKRVt6 (ORCPT ); Sat, 18 Nov 2023 16:49:58 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51BD9182; Sat, 18 Nov 2023 13:49:55 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5437269a661so8243884a12.0; Sat, 18 Nov 2023 13:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700344194; x=1700948994; 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=tu8B/DrosgiV85GSiOsUY9FsBSgQ5Nsx1mRRxIDJDOU=; b=YdS/6sVMQ60XA+ogF1yphuhWdZol+UlrJRCJnQ3Nt0ljfdbf57bPBTXJWlnMWZNiwZ 7NV6dIIt+jG8MuVfOcSgs7JCxAqrzGy53bPjzOg9kCbWmqnwKRg3OCU8V3WZGw7W0qSK CyWTQMvw3LOeNBCSfppDK3ajn4nd9Lu2ueCA78ltnbLIoAnBeFRJ9r+Uo/ZnRK7/FHLp j2I4/DyhGTEbbLRHZY0TBjJqByPhdWdp3vs9qkoy0lgKRLUZpWVKRIiaTT4SOPDIzbIY CAEXEgdZ0aMWLKTXzGUfsoL7VwymZohPSCgcI/u5zI/ADmdfwBFtrPz4jDa67vkrh8Kk qiHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700344194; x=1700948994; 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=tu8B/DrosgiV85GSiOsUY9FsBSgQ5Nsx1mRRxIDJDOU=; b=jLrj7ZVKjT5CaNaX4lEdvsjCXgH//4sFJLbeYw2QDxXVJc/MVeVsTs1RU0nEmCOK3j Z3pBOPmHiaFZOSS6VGjouVIe8LkPW2q1KSLa3vMWTAnt4YKVgZiHD2F9c6qooJRdB59P xOadtdCNBxL7oExnk6w3Jgu+r2iAjf5Bl3Srq4I3eJZyYwz6n1JPwY2YOdOPul1VpUsc xFvcwqBXUI+5ywSFbRBjW5eE+e8qNkldG5xJtd33pFs+RSICcbSpcg/XOH5No6N9No7S V0+rJtwCU1FgjFWa3XxmhjXtqBBZztdu+1cbPkp1kn141sgtGXwqfVljBe0boEz6WWPv EiSQ== X-Gm-Message-State: AOJu0YyrJzZTJMHhESXwENkg7mZr8c+AM64o63FEWoScUUqJLY/LF8f/ vBq/hkOKZdGWbCl+RXpmquU= X-Received: by 2002:a17:906:38da:b0:9ae:50ec:bd81 with SMTP id r26-20020a17090638da00b009ae50ecbd81mr6889839ejd.21.1700344193504; Sat, 18 Nov 2023 13:49:53 -0800 (PST) Received: from jernej-laptop.localnet (82-149-12-148.dynamic.telemach.net. [82.149.12.148]) by smtp.gmail.com with ESMTPSA id cm7-20020a170906f58700b009e5e1710ae7sm1028955ejd.191.2023.11.18.13.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 13:49:52 -0800 (PST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Wolfram Sang , Maxime Ripard , Heiner Kallweit Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Chen-Yu Tsai , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Samuel Holland , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 04/20] drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c: remove I2C_CLASS_DDC support Date: Sat, 18 Nov 2023 22:49:51 +0100 Message-ID: <2705713.mvXUDI8C0e@jernej-laptop> In-Reply-To: <20231118174221.851-5-hkallweit1@gmail.com> References: <20231118174221.851-1-hkallweit1@gmail.com> <20231118174221.851-5-hkallweit1@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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]); Sat, 18 Nov 2023 13:51:40 -0800 (PST) Dne sobota, 18. november 2023 ob 18:42:04 CET je Heiner Kallweit napisal(a): > 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 Acked-by: Jernej Skrabec Best regards, Jernej > > --- > 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); > >