Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp80642rwl; Thu, 6 Apr 2023 13:32:27 -0700 (PDT) X-Google-Smtp-Source: AKy350bWDwJ2JzrZcJiu4KX5ePdw3EWScTFhnIiTwXMU3Xjk4w+brfYf9RDbdyQ5YXdjOSyKsVbH X-Received: by 2002:aa7:d898:0:b0:502:3ea3:fc24 with SMTP id u24-20020aa7d898000000b005023ea3fc24mr5267208edq.17.1680813147174; Thu, 06 Apr 2023 13:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680813147; cv=none; d=google.com; s=arc-20160816; b=QRGZAGuewLhBcPupdzEmqFpxuFQxm1s/UOLWHMMK5ebS2pJ8KShcb5XPoYm0crwj6Z krShLy1/SvRC2VpKz0mE2IDhpeiV4tDH9y83HrJNI1NySrzh2IxZQIHblutpVo33YiHs Fq9of17HttO4oRnQlaWkIyVCtqniySwfoT50QaRtehg76Nh4IL/KNHcK61EvHL5aKbWg tgyvewOmtVviVjpATgjsO3eajfu+ozdq3YiOI8cyDGPv/8DCR746bDcDxG0ecmkJGibN Ng/BLOWuTkY2m795g7983RF6oqLPHopxajzzhQduC/WDXM9c/q6BfslhW5KxZ/zA/ZOh 7awg== 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=6Cj6dH8SQdnU185Yyyy6Om9VdNmKCPrXJ/wOeykSuMs=; b=azAhdIr3fYvC5FVGjpMlCnT6F4hIEMcs1baP0fXmH0fE0OTneS/g09ZJ/HKw8UsItO FUwQNDIivKAGR/M49uOXdBKAy2UDg3Xmqc5gyS4GRaBhagGNd6/jNxhnyB6BtROFbEZt M1NSlw6M52hLqubkgiK5A+nMURIOQ1QlUQgpYShtN1WImkoUtZ6tpAZezi+XX745FnMc YhSM6xCvqUJjOaS1EJ7D+L911yr1MkhFV7wN/UUWP9wvxBnJV5WnXlhDVlNNRXEapLDK Fr59w4+Hn0h9A0rUU9hb5lLDfyG28HA33eB4x3PlJ8lAHLJMwa0QP82Kvrwy0usHUBhO PnSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=taN5aF85; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j5-20020aa7ca45000000b0050463d3eafesi1480266edt.640.2023.04.06.13.31.29; Thu, 06 Apr 2023 13:32:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=taN5aF85; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229487AbjDFUbT (ORCPT + 99 others); Thu, 6 Apr 2023 16:31:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230468AbjDFUbS (ORCPT ); Thu, 6 Apr 2023 16:31:18 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 869F349CE for ; Thu, 6 Apr 2023 13:31:16 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id jw24so4214693ejc.3 for ; Thu, 06 Apr 2023 13:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680813075; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6Cj6dH8SQdnU185Yyyy6Om9VdNmKCPrXJ/wOeykSuMs=; b=taN5aF85T0o4DOEA7zGLC9x48hE/Ll4x8ZFWRhnpOle/x0WjymESe4p4Z14BHa4S9c uw7oNg/Q29YXzTtqcl9Czi8nNczbJMDfMKL24RxQLPQ4i7gS2T3RgrLsNbgbf+VAwqnm kCTb7lsCxP9ItySfzSsSSg9XA7o/XysqdOeSgmklm8S772pjBQT+JEFaumzsPFB7Z7Kq ttNNTzWPBGiJpGKT0WSXACkCsMquvcdtgYxpUaltczVIRYNkiqm57VeXX06xfnl++FmI gmxj3nq/pcX+gvNwXJxO0eKcWnKI5uuzQyY9KAyvy8nG+tI3TfEqTkyzFK+8IztYVtiX M02w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680813075; 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=6Cj6dH8SQdnU185Yyyy6Om9VdNmKCPrXJ/wOeykSuMs=; b=ZOX1+IEF8Ja0PdCPyQsfbzULnKh1u1CyR1TLtE79k34lwN/hhZ49WyoHBfSkcr5LQh g3VmhXhg9h8ME74bETk32lBp4yTf5QSP6R3z1U/teoo+ZajC5qGw+mJm/p3IGOX237Hz BSsvmwiFm1UTBtgAZVV/7+3ar/93HpYbAiExweLxMDdBLwbmq1cB8o6xNf4/nkODK4It 5QEky2jG3GXE/xJoI3x7zIkhh79fBTymZXJJnahLqWZB25J0iNkTS/jA0bdItSQzadJs eoIV/AsPpwVTJAnIA3MbGwTa04KOzTiXhHmgctku60IzaqmZ8Mm9Du4zYSd0p6f54fNO q6Lw== X-Gm-Message-State: AAQBX9c94dZA9LSCHKubcwS6TNZwoQPArpm13fTKG/haVRq5/aIix2Ja MtvdiRA93Xu6ouHA4Egh/z2wbQ== X-Received: by 2002:a17:906:c795:b0:922:8fc9:d235 with SMTP id cw21-20020a170906c79500b009228fc9d235mr6270842ejb.9.1680813074873; Thu, 06 Apr 2023 13:31:14 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:49e6:bb8c:a05b:c4ed]) by smtp.gmail.com with ESMTPSA id s4-20020a1709067b8400b0092bea699124sm1210330ejo.106.2023.04.06.13.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 13:31:14 -0700 (PDT) From: Krzysztof Kozlowski To: Jean Delvare , Guenter Roeck , Jonathan Corbet , Oded Gabbay , Michael Hennerich , Aleksa Savic , Jack Doan , =?UTF-8?q?Nuno=20S=C3=A1?= , Marius Zachmann , Wilken Gottwalt , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Jean-Marie Verdun , Nick Hawkins , Xu Yilun , Tom Rix , Clemens Ladisch , Rudolf Marek , Charles Keepax , Richard Fitzgerald , Ibrahim Tilki , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Jonas Malaco , Aleksandr Mezin , Derek John Clark , =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= , Iwona Winiarska , Florian Fainelli , Broadcom internal kernel review list , Hans de Goede , Michael Walle , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Agathe Porte , Eric Tremblay , Robert Marko , Luka Perkov , linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, openbmc@lists.ozlabs.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 00/68] hwmon: constify pointers to hwmon_channel_info Date: Thu, 6 Apr 2023 22:29:55 +0200 Message-Id: <20230406203103.3011503-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi, The first patch constifies the hwmon_channel_info pointers in the core, so all the drivers can be updated - all patches here depend on the first one. If the approach is fine, I will later update other subsystems. Best regards, Krzysztof Krzysztof Kozlowski (68): hwmon: constify pointers to hwmon_channel_info hwmon: adm1177: constify pointers to hwmon_channel_info hwmon: adm9240: constify pointers to hwmon_channel_info hwmon: adt7411: constify pointers to hwmon_channel_info hwmon: adt7470: constify pointers to hwmon_channel_info hwmon: adt7x10: constify pointers to hwmon_channel_info hwmon: aht10: constify pointers to hwmon_channel_info hwmon: aquacomputer: constify pointers to hwmon_channel_info hwmon: as370: constify pointers to hwmon_channel_info hwmon: axi-fan: constify pointers to hwmon_channel_info hwmon: bt1-pvt: constify pointers to hwmon_channel_info hwmon: corsair: constify pointers to hwmon_channel_info hwmon: dell-smm: constify pointers to hwmon_channel_info hwmon: drivetemp: constify pointers to hwmon_channel_info hwmon: emc2305: constify pointers to hwmon_channel_info hwmon: ftsteutates: constify pointers to hwmon_channel_info hwmon: gxp-fan: constify pointers to hwmon_channel_info hwmon: i5500_temp: constify pointers to hwmon_channel_info hwmon: ina238: constify pointers to hwmon_channel_info hwmon: ina3221: constify pointers to hwmon_channel_info hwmon: intel-m10-bmc: constify pointers to hwmon_channel_info hwmon: jc42: constify pointers to hwmon_channel_info hwmon: k10temp: constify pointers to hwmon_channel_info hwmon: k8temp: constify pointers to hwmon_channel_info hwmon: lan966x: constify pointers to hwmon_channel_info hwmon: lm75: constify pointers to hwmon_channel_info hwmon: lm83: constify pointers to hwmon_channel_info hwmon: lm95241: constify pointers to hwmon_channel_info hwmon: lm95245: constify pointers to hwmon_channel_info hwmon: lochnagar: constify pointers to hwmon_channel_info hwmon: ltc2947: constify pointers to hwmon_channel_info hwmon: ltc2992: constify pointers to hwmon_channel_info hwmon: ltc4245: constify pointers to hwmon_channel_info hwmon: ltq-cputemp: constify pointers to hwmon_channel_info hwmon: max127: constify pointers to hwmon_channel_info hwmon: max31730: constify pointers to hwmon_channel_info hwmon: max31760: constify pointers to hwmon_channel_info hwmon: max31790: constify pointers to hwmon_channel_info hwmon: max6620: constify pointers to hwmon_channel_info hwmon: max6621: constify pointers to hwmon_channel_info hwmon: max6650: constify pointers to hwmon_channel_info hwmon: mc34vr500: constify pointers to hwmon_channel_info hwmon: mcp3021: constify pointers to hwmon_channel_info hwmon: mlxreg: constify pointers to hwmon_channel_info hwmon: nct7904: constify pointers to hwmon_channel_info hwmon: npcm750-pwm: constify pointers to hwmon_channel_info hwmon: ntc_thermistor: constify pointers to hwmon_channel_info hwmon: nzxt: constify pointers to hwmon_channel_info hwmon: oxp-sensors: constify pointers to hwmon_channel_info hwmon: peci: constify pointers to hwmon_channel_info hwmon: powr1220: constify pointers to hwmon_channel_info hwmon: raspberrypi: constify pointers to hwmon_channel_info hwmon: sbrmi: constify pointers to hwmon_channel_info hwmon: sbtsi_temp: constify pointers to hwmon_channel_info hwmon: sch5627: constify pointers to hwmon_channel_info hwmon: sht4x: constify pointers to hwmon_channel_info hwmon: sl28cpld: constify pointers to hwmon_channel_info hwmon: smpro: constify pointers to hwmon_channel_info hwmon: sparx5-temp: constify pointers to hwmon_channel_info hwmon: sy7636a: constify pointers to hwmon_channel_info hwmon: tmp102: constify pointers to hwmon_channel_info hwmon: tmp103: constify pointers to hwmon_channel_info hwmon: tmp108: constify pointers to hwmon_channel_info hwmon: tmp464: constify pointers to hwmon_channel_info hwmon: tmp513: constify pointers to hwmon_channel_info hwmon: tps23861: constify pointers to hwmon_channel_info hwmon: w83627ehf: constify pointers to hwmon_channel_info hwmon: w83773g: constify pointers to hwmon_channel_info Documentation/hwmon/hwmon-kernel-api.rst | 6 +++--- drivers/accel/habanalabs/common/hwmon.c | 2 +- drivers/hwmon/adm1177.c | 2 +- drivers/hwmon/adm9240.c | 2 +- drivers/hwmon/adt7411.c | 2 +- drivers/hwmon/adt7470.c | 2 +- drivers/hwmon/adt7x10.c | 2 +- drivers/hwmon/aht10.c | 2 +- drivers/hwmon/aquacomputer_d5next.c | 2 +- drivers/hwmon/as370-hwmon.c | 2 +- drivers/hwmon/axi-fan-control.c | 2 +- drivers/hwmon/bt1-pvt.c | 4 ++-- drivers/hwmon/corsair-cpro.c | 2 +- drivers/hwmon/corsair-psu.c | 2 +- drivers/hwmon/dell-smm-hwmon.c | 2 +- drivers/hwmon/drivetemp.c | 2 +- drivers/hwmon/emc2305.c | 2 +- drivers/hwmon/ftsteutates.c | 2 +- drivers/hwmon/gxp-fan-ctrl.c | 2 +- drivers/hwmon/hwmon.c | 4 ++-- drivers/hwmon/i5500_temp.c | 2 +- drivers/hwmon/ina238.c | 2 +- drivers/hwmon/ina3221.c | 2 +- drivers/hwmon/intel-m10-bmc-hwmon.c | 10 +++++----- drivers/hwmon/jc42.c | 2 +- drivers/hwmon/k10temp.c | 2 +- drivers/hwmon/k8temp.c | 2 +- drivers/hwmon/lan966x-hwmon.c | 2 +- drivers/hwmon/lm75.c | 2 +- drivers/hwmon/lm83.c | 2 +- drivers/hwmon/lm95241.c | 2 +- drivers/hwmon/lm95245.c | 2 +- drivers/hwmon/lochnagar-hwmon.c | 2 +- drivers/hwmon/ltc2947-core.c | 2 +- drivers/hwmon/ltc2992.c | 2 +- drivers/hwmon/ltc4245.c | 2 +- drivers/hwmon/ltq-cputemp.c | 2 +- drivers/hwmon/max127.c | 2 +- drivers/hwmon/max31730.c | 2 +- drivers/hwmon/max31760.c | 2 +- drivers/hwmon/max31790.c | 2 +- drivers/hwmon/max6620.c | 2 +- drivers/hwmon/max6621.c | 2 +- drivers/hwmon/max6650.c | 2 +- drivers/hwmon/mc34vr500.c | 2 +- drivers/hwmon/mcp3021.c | 2 +- drivers/hwmon/mlxreg-fan.c | 2 +- drivers/hwmon/nct7904.c | 2 +- drivers/hwmon/npcm750-pwm-fan.c | 2 +- drivers/hwmon/ntc_thermistor.c | 2 +- drivers/hwmon/nzxt-kraken2.c | 2 +- drivers/hwmon/nzxt-smart2.c | 2 +- drivers/hwmon/oxp-sensors.c | 2 +- drivers/hwmon/peci/cputemp.c | 2 +- drivers/hwmon/peci/dimmtemp.c | 2 +- drivers/hwmon/powr1220.c | 2 +- drivers/hwmon/raspberrypi-hwmon.c | 2 +- drivers/hwmon/sbrmi.c | 2 +- drivers/hwmon/sbtsi_temp.c | 2 +- drivers/hwmon/sch5627.c | 2 +- drivers/hwmon/sht4x.c | 2 +- drivers/hwmon/sl28cpld-hwmon.c | 2 +- drivers/hwmon/smpro-hwmon.c | 2 +- drivers/hwmon/sparx5-temp.c | 2 +- drivers/hwmon/sy7636a-hwmon.c | 2 +- drivers/hwmon/tmp102.c | 2 +- drivers/hwmon/tmp103.c | 2 +- drivers/hwmon/tmp108.c | 2 +- drivers/hwmon/tmp464.c | 2 +- drivers/hwmon/tmp513.c | 2 +- drivers/hwmon/tps23861.c | 2 +- drivers/hwmon/w83627ehf.c | 2 +- drivers/hwmon/w83773g.c | 2 +- include/linux/hwmon.h | 2 +- 74 files changed, 82 insertions(+), 82 deletions(-) -- 2.34.1