Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1293156rdb; Sat, 18 Nov 2023 10:06:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFKfoQeYv6ZjUj57ELXzhD9IOF4ZyJFJ8WQJT1q0C+fG1Ygo3L+KAqXjNfE2WQfglXmEG2z X-Received: by 2002:a05:6e02:48c:b0:35a:efb1:2890 with SMTP id b12-20020a056e02048c00b0035aefb12890mr3310760ils.17.1700330765392; Sat, 18 Nov 2023 10:06:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700330765; cv=none; d=google.com; s=arc-20160816; b=SQMO5XG/FX2lr7lGzxoTvGnhC84SbjsUJkSWYZzp9L2ApPUqzD7g5klQPnYnIdXc9J XWuszmTn6IJ+pzHxOLa0wOneJD0Aik3wMbVLbDG+O0aKzcB2nQG3/FOwWNgaE7FNJPR4 0hh1A/ILPXWW9aDFvdPqmYXnLPC9OYfTWGXnRQ2Mtw4IBhnFfOhr1UsT5rkvZpu1/TMi b00gCJlNt6wFUjRdelhiQrrw6k4Ml7+C1abV17gkJ1xG722fwOIsx+6YMgIlIBUfbVao jj+f6vln9kq14hOTgezUw1dIcmUqeh14LuVlrjQrERJJQA7DSgk96g18ehORX9rt0jCn qorA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=mu6uKqetedFX6br/8gaH2MKtwUbnJweRqllZD/aw3RQ=; fh=P3YmKHEK98wZGztfO4jzKjDgOQxPDMmlcczjoAwWyIk=; b=LsG5kjATJcZgc6uAR6+5tLcePNwIFFtJDZhTpzDQn/a8xMvb0uKRNcjiisqxCIal1p s4HI6xvczUfQGy49ws9qx0kWvQw3XCoegKDauIAqrA77jJYVnrerjZx8R3WuopPXAXQe /UbziqMKsW8wHttqXeovek9VLaHubhJOs9N4uj9ocazmrCUGVGJL7SibZBW6hQlAf2Ia 18EvGvyPGuAhOgcsCms9iyCdrH1nZQGaaw2uAG33ZjATQBSoNE+3Nt5u4ld1bv4KE3P0 re1rlILlbGIo+/IUJ4psGJp4m1A6ii+yhNBoGQzuJq9zqNEzsmi9c+tFeItDIMjYsKGA 7fXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UnP9jCsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bx10-20020a056a02050a00b005acf4298a78si5330110pgb.149.2023.11.18.10.06.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 10:06:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UnP9jCsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id CEF24809678F; Sat, 18 Nov 2023 10:05:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229927AbjKRSFP (ORCPT + 99 others); Sat, 18 Nov 2023 13:05:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjKRSFO (ORCPT ); Sat, 18 Nov 2023 13:05:14 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3D32AA; Sat, 18 Nov 2023 10:05:10 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c87acba73bso1553431fa.1; Sat, 18 Nov 2023 10:05:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700330709; x=1700935509; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mu6uKqetedFX6br/8gaH2MKtwUbnJweRqllZD/aw3RQ=; b=UnP9jCsUWC29/s+NC+cz1N6kqRrEKoCIbfW2YrVFq4910JkmHcTTOOBnxSpwHAgKdQ UFF6c9yTh81IOFqjWKjbi1YJfVJrITvHyU+KgVmJT7od5Nxv2hbosw/xmuodtju8oT7p ktS4hnOaG1UfvcAfjGGv76GY4Ll8SV7Cl82OjoQSgUAB72kmsjwSeJ/R4sa9ncOWMfHs 4+do9HZwRudipRKWzT+0f1VVQSkzR0NqFlqbornppcB6tKG3g6rLxLvOee2JivucQa0x wgUgGip/NvDz6cUB2VCE5cSX2VgfIpYogcS91p9NcgtXSkvwTAblKZoOqmDypMlOJXMa bKxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700330709; x=1700935509; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mu6uKqetedFX6br/8gaH2MKtwUbnJweRqllZD/aw3RQ=; b=lldtx2DrQfWRDCE3PRO+QHz3bs8xkItkXOtykQPwnH2RWjFZCCIhcFDnlAlQKMgMAW ZpkZjDO/FWS2YAivNewrE3sEsrn3RGKHJFAFC1ohHAxZKevBKp3LxAKRabDYAt/3rrqO d4uVDAsJPr4LXgfBGzlEVWlPlq7L5ogew6eswkf6cAmSGpEdAxa+sJVmQs/VHtMm4Tnw Sk/xtKa5tlIbZ0UqYLb3FuRFPK3hZXipvNGIaXgF0gEsOwk+HTlfdsENsftp4ceWxirD N/HjBrQGIlSP135bAr0HWHMab/Qy22ae8T5bvWsPbMCVwsoOzTPorIGeidkgUKuOwl3E taOg== X-Gm-Message-State: AOJu0Ywl8YGOsZ1YGRQTs0YIRaoVP3TkkYCQRRr/Rdl59zg7vjnaoIVQ SSCaIsetJoAg3cy5vcwd+m0ZlvNin2rNng== X-Received: by 2002:a2e:9c84:0:b0:2c5:1ea4:4e99 with SMTP id x4-20020a2e9c84000000b002c51ea44e99mr2049253lji.48.1700330708944; Sat, 18 Nov 2023 10:05:08 -0800 (PST) Received: from zotac.lan. (dynamic-2a01-0c22-77bf-8300-2223-08ff-fe18-0310.c22.pool.telefonica.de. [2a01:c22:77bf:8300:2223:8ff:fe18:310]) by smtp.gmail.com with ESMTPSA id m20-20020a1709062b9400b009f2c769b4ebsm2079456ejg.151.2023.11.18.10.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 10:05:08 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , linuxppc-dev@lists.ozlabs.org Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Christophe Leroy , Nicholas Piggin , linux-kernel@vger.kernel.org, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-media@vger.kernel.org Subject: [PATCH 00/10] Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON Date: Sat, 18 Nov 2023 19:04:54 +0100 Message-ID: <20231118180504.1785-1-hkallweit1@gmail.com> X-Mailer: git-send-email 2.42.1 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 fry.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 (fry.vger.email [0.0.0.0]); Sat, 18 Nov 2023 10:05:48 -0800 (PST) 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 --- drivers/i2c/busses/i2c-ali1535.c | 2 +- drivers/i2c/busses/i2c-ali1563.c | 2 +- drivers/i2c/busses/i2c-ali15x3.c | 2 +- drivers/i2c/busses/i2c-amd756.c | 2 +- drivers/i2c/busses/i2c-amd8111.c | 2 +- drivers/i2c/busses/i2c-elektor.c | 2 +- drivers/i2c/busses/i2c-gpio.c | 2 +- drivers/i2c/busses/i2c-ibm_iic.c | 2 +- drivers/i2c/busses/i2c-iop3xx.c | 2 +- drivers/i2c/busses/i2c-isch.c | 2 +- drivers/i2c/busses/i2c-kempld.c | 4 ++-- drivers/i2c/busses/i2c-mlxcpld.c | 2 +- drivers/i2c/busses/i2c-nforce2.c | 2 +- drivers/i2c/busses/i2c-pasemi-pci.c | 2 +- drivers/i2c/busses/i2c-piix4.c | 2 +- drivers/i2c/busses/i2c-scmi.c | 2 +- drivers/i2c/busses/i2c-sh7760.c | 2 +- drivers/i2c/busses/i2c-sibyte.c | 4 ++-- drivers/i2c/busses/i2c-sis5595.c | 2 +- drivers/i2c/busses/i2c-sis630.c | 2 +- drivers/i2c/busses/i2c-sis96x.c | 2 +- drivers/i2c/busses/i2c-via.c | 2 +- drivers/i2c/busses/i2c-viapro.c | 2 +- drivers/i2c/busses/scx200_acb.c | 2 +- drivers/i2c/i2c-stub.c | 2 +- drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c | 2 +- drivers/staging/greybus/i2c.c | 2 +- 27 files changed, 29 insertions(+), 29 deletions(-)