Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp968806rdh; Fri, 24 Nov 2023 02:15:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXvgQeZjhMUOedgJ0s4WQhziqlDNmr0ADcpLHJkwBgokNQ+joIhX8afn1yS5mE5wZ9HU2H X-Received: by 2002:a05:6a20:72a2:b0:18b:e548:ada4 with SMTP id o34-20020a056a2072a200b0018be548ada4mr2340271pzk.20.1700820933050; Fri, 24 Nov 2023 02:15:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700820933; cv=none; d=google.com; s=arc-20160816; b=jXMAFYta5lcN9P74Ck7MOw0dsMOwMsSRC/VBp5aX5yVoGF3AzXzUKJlJx+4CFnEVMP X12N0mCOTIRtNn91v11veDeezrL2eVeUu5iK0oWq8otqPmhbjJkhLOFqmZuCD6qFOaqc yqkb+AGSSOdcIyhSPGR5f+wFYehFkzXVOUWxYcQ4POOvtAXTsYlKaGRK0h6zzJkFGQT7 muUXI+Y7Q4nHqHepvkamHvpwdhMs9l4bOYs1Ln+jKsVSv45Z9Li9273OGGkxOL33oV3o +IkUTJN4J3OSPs0uDDOssY0DmmWaY8kJYfkHeXTeWFhfupvogI5E8ZGnbJpNSBJRJUlq sHkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=AmH0U+ykva3wvuaL+4MoLBzeoUW8RNObes6nQ8E7/J8=; fh=bQhvVUyjMV7MDv0DOCx3S7MsSBg1HEkDgpzXL6Wp6Zo=; b=BUmlOMT1cLPUkgyfxFLycC/lQPRhNHJcMC94usTMD53diu3XiJPbNYBqL+Rc+sehiG tRH9JSqPT8+YqmRGi0eOx+58yckAKHws7b1FkblIAbPLR2K1nY+nD4RGdwKOq4AjrKod 88RNiUR9MOI7pJPA1ANXILXcZi1ri54+195r4pi1a9nQW/TiMZykocY8sqEbSb0iArM2 jBpPMgsWTG27o5t74fdqcg0BPA6PpAKKhUHH1kiI7xSX773R7BpsQTaHvhuA0oWjlwnZ 5Jtrul5GcN0CC093WjcqYcu8WNeyrBXogD4dwJ3nVBnkx2AR+sDEBHub/i81uaBKmpMu YD7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=la5zgSjV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id j8-20020a635948000000b005c1e716256asi3084275pgm.218.2023.11.24.02.15.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 02:15:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=la5zgSjV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 11DB380511BA; Fri, 24 Nov 2023 02:15:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345498AbjKXKPN (ORCPT + 99 others); Fri, 24 Nov 2023 05:15:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345481AbjKXKPK (ORCPT ); Fri, 24 Nov 2023 05:15:10 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01726BB; Fri, 24 Nov 2023 02:15:17 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a03a900956dso332385266b.1; Fri, 24 Nov 2023 02:15:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700820915; x=1701425715; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AmH0U+ykva3wvuaL+4MoLBzeoUW8RNObes6nQ8E7/J8=; b=la5zgSjVmhrxvY9lH7vFHSm7zaORIkJ7RbvsNInVzSmeLsvPu6w7aHCp9Uvjzmqtth Lk3+Ufy9tUUa0pclkDL2CA63G8WKH9o4vCk8JVYE51I6Tg0LnRawMDlNeZ+SNvvQpEVQ vX4JJqgRs+cwsKrs1zPlmN6KwUdE3wdTLStHhhR9sUhbPSrUmn7CjlZ4ZIVu22izMt8V NZs23xijzDqp8TsmG0CMgS6AaEZasQXe3aNtD8cutwrm6gdlXvqVckYDDJF/6jk9UTU9 KneWKYcsbNHu8Naed6wBJ0mjLOz3s3mzffbg2ex1cbENn9Rgo6vOFXzs8fxkF2TamPpF cM0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700820915; x=1701425715; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AmH0U+ykva3wvuaL+4MoLBzeoUW8RNObes6nQ8E7/J8=; b=w5K45bIbdZ2upyYg39v14poMu08ZgaKzlAuA4WAsz7DBe43dilFo4MS9sVGNDiVOum FOu9r+kjB1/lkXaT39yGhWGoUHcuNnU2Cpw2xV9t4SCOyiyD3ftnWhUkYhOu2II03t3m M/kC1VfHIRAxiLDx83L3512igCiJK+qBUGVSA58GFCwqCi2sv5N0EbVKkUDkQ93PjsB9 589KAqE1Du/O9/NL09PZOKqo/HykByF9EIQoTt1mu1L86oVOTtEBzoKn3LimJowkm5e3 O0jgllfJYPAlW0wusvHDi9EWQ0CinaYAClxKE/khf10xheTj90D55/CId3JZnhey1iIR v8iw== X-Gm-Message-State: AOJu0YwWqnyBdPj5G557fPOh6a0YAusQbxyq2obN/g/dsdBLZFhhp9Nw PppHq7eTlYztiuu7jE28r9PILCdJ8HCRig== X-Received: by 2002:a17:906:410d:b0:a00:ab1a:c81 with SMTP id j13-20020a170906410d00b00a00ab1a0c81mr1973811ejk.22.1700820915337; Fri, 24 Nov 2023 02:15:15 -0800 (PST) Received: from ?IPV6:2a01:c22:72cf:8300:64ee:eefa:7128:3642? (dynamic-2a01-0c22-72cf-8300-64ee-eefa-7128-3642.c22.pool.telefonica.de. [2a01:c22:72cf:8300:64ee:eefa:7128:3642]) by smtp.googlemail.com with ESMTPSA id j10-20020a170906050a00b009fc54390966sm1891674eja.145.2023.11.24.02.15.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Nov 2023 02:15:14 -0800 (PST) Message-ID: <6bb4d6bb-3857-4ad3-b0a3-498a8950305e@gmail.com> Date: Fri, 24 Nov 2023 11:15:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 08/10] drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON Content-Language: en-US To: Wolfram Sang , Sergey Kozlov , linux-i2c@vger.kernel.org, Abylay Ospan , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231118180504.1785-1-hkallweit1@gmail.com> <20231118180504.1785-9-hkallweit1@gmail.com> From: Heiner Kallweit Autocrypt: addr=hkallweit1@gmail.com; keydata= xsFNBF/0ZFUBEAC0eZyktSE7ZNO1SFXL6cQ4i4g6Ah3mOUIXSB4pCY5kQ6OLKHh0FlOD5/5/ sY7IoIouzOjyFdFPnz4Bl3927ClT567hUJJ+SNaFEiJ9vadI6vZm2gcY4ExdIevYHWe1msJF MVE4yNwdS+UsPeCF/6CQQTzHc+n7DomE7fjJD5J1hOJjqz2XWe71fTvYXzxCFLwXXbBiqDC9 dNqOe5odPsa4TsWZ09T33g5n2nzTJs4Zw8fCy8rLqix/raVsqr8fw5qM66MVtdmEljFaJ9N8 /W56qGCp+H8Igk/F7CjlbWXiOlKHA25mPTmbVp7VlFsvsmMokr/imQr+0nXtmvYVaKEUwY2g 86IU6RAOuA8E0J5bD/BeyZdMyVEtX1kT404UJZekFytJZrDZetwxM/cAH+1fMx4z751WJmxQ J7mIXSPuDfeJhRDt9sGM6aRVfXbZt+wBogxyXepmnlv9K4A13z9DVLdKLrYUiu9/5QEl6fgI kPaXlAZmJsQfoKbmPqCHVRYj1lpQtDM/2/BO6gHASflWUHzwmBVZbS/XRs64uJO8CB3+V3fa cIivllReueGCMsHh6/8wgPAyopXOWOxbLsZ291fmZqIR0L5Y6b2HvdFN1Xhc+YrQ8TKK+Z4R mJRDh0wNQ8Gm89g92/YkHji4jIWlp2fwzCcx5+lZCQ1XdqAiHQARAQABzSZIZWluZXIgS2Fs bHdlaXQgPGhrYWxsd2VpdDFAZ21haWwuY29tPsLBjgQTAQgAOBYhBGxfqY/yOyXjyjJehXLe ig9U8DoMBQJf9GRVAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEHLeig9U8DoMSycQ AJbfg8HZEK0ljV4M8nvdaiNixWAufrcZ+SD8zhbxl8GispK4F3Yo+20Y3UoZ7FcIidJWUUJL axAOkpI/70YNhlqAPMsuudlAieeYZK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ivE5aRnBazugy0rTRkVggHvt3/7flFHlGVGpBHxFUwb /a4UjJBPtIwa4tWR8B1Ma36S8Jk456k2n1id7M0LQ+eqstmp6Y+UB+pt9NX6t0Slw1NCdYTW gJezWTVKF7pmTdXszXGxlc9kTrVUz04PqPjnYbv5UWuDd2eyzGjrrFOsJEi8OK2d2j4FfF++ AzOMdW09JVqejQARAQABwsF2BBgBCAAgFiEEbF+pj/I7JePKMl6Fct6KD1TwOgwFAl/0ZFUC GwwACgkQct6KD1TwOgxUfg//eAoYc0Vm4NrxymfcY30UjHVD0LgSvU8kUmXxil3qhFPS7KA+ y7tgcKLHOkZkXMX5MLFcS9+SmrAjSBBV8omKoHNo+kfFx/dUAtz0lot8wNGmWb+NcHeKM1eb nwUMOEa1uDdfZeKef/U/2uHBceY7Gc6zPZPWgXghEyQMTH2UhLgeam8yglyO+A6RXCh+s6ak Wje7Vo1wGK4eYxp6pwMPJXLMsI0ii/2k3YPEJPv+yJf90MbYyQSbkTwZhrsokjQEaIfjrIk3 rQRjTve/J62WIO28IbY/mENuGgWehRlTAbhC4BLTZ5uYS0YMQCR7v9UGMWdNWXFyrOB6PjSu Trn9MsPoUc8qI72mVpxEXQDLlrd2ijEWm7Nrf52YMD7hL6rXXuis7R6zY8WnnBhW0uCfhajx q+KuARXC0sDLztcjaS3ayXonpoCPZep2Bd5xqE4Ln8/COCslP7E92W1uf1EcdXXIrx1acg21 H/0Z53okMykVs3a8tECPHIxnre2UxKdTbCEkjkR4V6JyplTS47oWMw3zyI7zkaadfzVFBxk2 lo/Tny+FX1Azea3Ce7oOnRUEZtWSsUidtIjmL8YUQFZYm+JUIgfRmSpMFq8JP4VH43GXpB/S OCrl+/xujzvoUBFV/cHKjEQYBxo+MaiQa1U54ykM2W4DnHb1UiEf5xDkFd4= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 24 Nov 2023 02:15:28 -0800 (PST) On 23.11.2023 21:55, Wolfram Sang wrote: > On Sat, Nov 18, 2023 at 07:05:02PM +0100, Heiner Kallweit wrote: >> After removal of the legacy eeprom driver the only remaining I2C >> client device driver supporting I2C_CLASS_SPD is jc42. Because this >> driver also supports I2C_CLASS_HWMON, adapters don't have to >> declare support for I2C_CLASS_SPD if they support I2C_CLASS_HWMON. >> It's one step towards getting rid of I2C_CLASS_SPD mid-term. >> >> Series was created supported by Coccinelle and its splitpatch. >> >> Signed-off-by: Heiner Kallweit > > As I want to apply this cleanup early in the cycle, could we have an ack > for me to modify this subsystem, please? > Looking at the git history for this driver, there has been no sign of life from the official maintainers for years. Hopefully Mauro can ack this. >> >> --- >> drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c b/drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c >> index bd38ce444..46676f2c8 100644 >> --- a/drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c >> +++ b/drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c >> @@ -289,7 +289,7 @@ static const struct i2c_algorithm netup_i2c_algorithm = { >> static const struct i2c_adapter netup_i2c_adapter = { >> .owner = THIS_MODULE, >> .name = NETUP_UNIDVB_NAME, >> - .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, >> + .class = I2C_CLASS_HWMON, >> .algo = &netup_i2c_algorithm, >> }; >> >>