Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2370908rdh; Sun, 26 Nov 2023 04:19:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHkNBSPtPJQbAX+G8Da7unNiaBdX16zmWKRqIfhljHcK4al++jyp8TwkvQOnR2KQkM788X X-Received: by 2002:a05:6a20:8f0f:b0:187:1015:bf88 with SMTP id b15-20020a056a208f0f00b001871015bf88mr9026216pzk.29.1701001150392; Sun, 26 Nov 2023 04:19:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701001150; cv=none; d=google.com; s=arc-20160816; b=IVmaH7fcNFbP+pTrxbctjuSsISD9fy/bNyrRPsH6nxtdlWjdxPfCYBUQKrRcm5W0Vu V7OjoSoQGSvH6qw4w3tBpXBcOHeXeEq0HSm7zjkAo6fNLWJhtQO66LAnWVpcOLcxzViY hs54pLXio/vwUvke4CvgTcg2XUW4oWeZdQ3DCu/f5NMh6Rqhbwomm4g5p043NPnCsl5L W3KUQkHKxKwoNXbXLZmNLHfvS5jW+DT2Ax51xh9hkME7xIH+DinTVZatjFZp9Q9I+MId /w/m8Xq0i6quBjY+jMV3uCjq1p/uPy0v5pkJlJMAmr9Sxzo4QTSv9URDSWPWkLdsNEyK /RxQ== 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:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=fq7dC2Z5ePegGE/m91H74oxk/74+QrTnRyFTk/SdOGE=; fh=P2KWHovvA7nquPjkM7X9KzrIo7dnNM0DTdWZ+kj1fMg=; b=utQQRQe1fyXlH6qraicK5/ViszRJJh0mbkZhb4DJ3ybQ9nklw6Ro/XR/6QqwCzgJZZ ArrxcRo1jlzfJ67FcGJaZREJQR5Eb+huRMya+gLpWRIj/RPC5hnFMO7E858DpWZuvxi7 UN89ibyhB5Qxpc8kcieuXm+cqpMeLYAsiE9OGFDQP8mvs6/BuNz6ydlBB7j3mXTmXlzo oU10t9eNmBauuVtcbqeT7GPHfWBv4S3lKjAuk+biWWCNxO2UjDYlMIs+JYQqMYINjcCh hydPJrDzxuP5oxxRFDWwa2lxLxQWbeWWSx/WsGh9pjJ7CRZUWpaIngj9TgX/ugytXQKW fCiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nRfPNDE5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id fc26-20020a056a002e1a00b006910a45a234si7673923pfb.202.2023.11.26.04.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 04:19:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nRfPNDE5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 2C5D08042504; Sun, 26 Nov 2023 04:19:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbjKZMSv (ORCPT + 99 others); Sun, 26 Nov 2023 07:18:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjKZMSt (ORCPT ); Sun, 26 Nov 2023 07:18:49 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA6459C; Sun, 26 Nov 2023 04:18:53 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40839652b97so22224685e9.3; Sun, 26 Nov 2023 04:18:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701001132; x=1701605932; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fq7dC2Z5ePegGE/m91H74oxk/74+QrTnRyFTk/SdOGE=; b=nRfPNDE57w7Wufs5QeZnfN/3SYIcF8stQGE6fhH/y9mclTu2hft/fQxLt3NcV8Q8zZ IxclDFXlfVJXG0dkJzfksbcI2csx4D0FVOQ5QaFf7eMYrWVLmHNlfOTO8gesjEEWckOw bih0QGsSLuvU1YC8LeI3YDGlCajJKl5qSq244rd7afpnpBakdoCmcFciAyIotMTraXrO H/9i+VpsGhRmfZK95MCN6PwBp1nfUWtIVu5p2di7D92eb8+O91bobWILAS15qXqaIiNV GFHUvES9SIJr3fbCoq4a4ATl2cvFl9XzybGIiC1AXaacyyG/F7KHZg+qUALIaub9Q3C4 +XBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701001132; x=1701605932; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :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=fq7dC2Z5ePegGE/m91H74oxk/74+QrTnRyFTk/SdOGE=; b=qNQpfFdwHsV2AcGCnSGdHZWTF4ozGg8m7bJGhvUK5VwBHZ/pzr3A+JhqIsIpsSvtqB mCh9ing0EcCdJDtD2ur7lLz0tzewoHiDmsgDu13thJk2bNYh3J1EpZaYWP3dBMLWhizB duzpx1cWOmhZFebI2bq149Mumg57mfu66gbVfjVWaeyYU6++hTWsw8nusoD+cklTR/vz oppJ53wkbIbVbAZsYRZbCH0U3KM9A/fMjyHX//Ntd2Y41VVRlvzHkP7s9chXnrDW58p5 8DWznha/W0XnIF1kXRCT2iQmBs1gzgYYiHDbaExagOl1A6Hhopas+tDR78+2FBwfy1SJ vOOg== X-Gm-Message-State: AOJu0YwdoOX91CWY9s+C2iL/uLGcjQjLETmmCtiVFea+8BeigO4NBJE8 lfUZD74HvLscThwr1nrsXomnEkI0dHE= X-Received: by 2002:a05:600c:314c:b0:404:72fe:ed5c with SMTP id h12-20020a05600c314c00b0040472feed5cmr5956333wmo.29.1701001131751; Sun, 26 Nov 2023 04:18:51 -0800 (PST) Received: from ?IPV6:2a01:c23:c42d:f800:9d4a:26da:56c3:eb86? (dynamic-2a01-0c23-c42d-f800-9d4a-26da-56c3-eb86.c23.pool.telefonica.de. [2a01:c23:c42d:f800:9d4a:26da:56c3:eb86]) by smtp.googlemail.com with ESMTPSA id m21-20020a056000181500b00332f82265b8sm2961340wrh.4.2023.11.26.04.18.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Nov 2023 04:18:51 -0800 (PST) Message-ID: Date: Sun, 26 Nov 2023 13:18:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 10/10] i2c: scx200_acb: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON Content-Language: en-US To: jim.cromie@gmail.com Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Andi Shyti , linux-kernel@vger.kernel.org References: <20231124101619.6470-1-hkallweit1@gmail.com> <20231124101619.6470-11-hkallweit1@gmail.com> From: Heiner Kallweit Autocrypt: addr=hkallweit1@gmail.com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+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: 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 morse.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 (morse.vger.email [0.0.0.0]); Sun, 26 Nov 2023 04:19:08 -0800 (PST) On 26.11.2023 07:03, jim.cromie@gmail.com wrote: > On Fri, Nov 24, 2023 at 3:16 AM 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 >> > > Acked: > Thanks. Could you please respond with a proper Acked-by tag so that patchwork can pick it up? > >> --- >> drivers/i2c/busses/scx200_acb.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c >> index 83c1db610..3648382b8 100644 >> --- a/drivers/i2c/busses/scx200_acb.c >> +++ b/drivers/i2c/busses/scx200_acb.c >> @@ -427,7 +427,7 @@ static struct scx200_acb_iface *scx200_create_iface(const char *text, >> snprintf(adapter->name, sizeof(adapter->name), "%s ACB%d", text, index); >> adapter->owner = THIS_MODULE; >> adapter->algo = &scx200_acb_algorithm; >> - adapter->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; >> + adapter->class = I2C_CLASS_HWMON; >> adapter->dev.parent = dev; >> >> mutex_init(&iface->mutex); >>