Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9179693rwr; Thu, 11 May 2023 11:02:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7zN2lX5W7N7CppCvZn7pIcz5R/bXQQGONneMP79TxZKnCB7C+XXnAzjf5HvXOM6yPA4a7W X-Received: by 2002:a17:90a:31c6:b0:24d:ec21:b83c with SMTP id j6-20020a17090a31c600b0024dec21b83cmr21801553pjf.16.1683828154766; Thu, 11 May 2023 11:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683828154; cv=none; d=google.com; s=arc-20160816; b=JOG0LR+dIJbZwQybo6My/VZ0nzLfeQVf84MHlXrs8xwtyfqsoLF+2UlH7ejFwzT8mY Wllb6C6Pi12Kx4EyTt9h49LK2uai2+6JR/TilYfFSC68BpvMqkZws5HLuAiPdnC99M3L zi9hPF+wReH68YVWwZmssw7v0ijNdZKGgTMN8OfPK+3g7/OyM9k3Jjo5yQYKbasGpCRP QdXit1slHqGz3B+v6kZIrXECDdBDLd5sjG3QY8hbqZ3V1MdQ3+QFqx7UVaqujZJ0yQpn /AgUaUtNOgc/TW8G5l9Tpn9GcUPYhJ7ABeNFT270+RJE2SQB38RBToLbGqRUGRJMF0E5 IeJA== 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=y4dB7ekFw9CND226UK6hDbOLw5RQw3W+5HfLFUcbj4M=; b=e9vhZ1O0j5YzEKeth9G4zJOV6+2mX0OIpJspRpRa36P0Umo2rNqJnp6lCYZ9QmmW37 Vsu/MPAdNPx8aRlwglFjmmvdx+8iGip1hC4t2ySdk2asv7e3DAdhrqa+dJ9xbaOAMTxH G4Wchp42UTuw3Aapyjb3zMmHWiRWw2tVWO2Xohwbq6czE4FadVmqLpxPt7pMOGXQnav8 aODAWPe/2zO6rKnBtZCPtZr9kPs0LsPJgwapGzDsylLxm9NgKJi0SJDBRkxOdKkKaSfz jIu9TfskbbIZy4uR0LokOCJil5MkLTtzhub0zqZX/628ZL/wF8cu3qDvmEOG6U6iNkgN 3Dyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="bbR/Iw4/"; 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 d60-20020a17090a6f4200b0023af4ee47dasi20701845pjk.65.2023.05.11.11.02.20; Thu, 11 May 2023 11:02:34 -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="bbR/Iw4/"; 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 S239078AbjEKR4w (ORCPT + 99 others); Thu, 11 May 2023 13:56:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238673AbjEKR4o (ORCPT ); Thu, 11 May 2023 13:56:44 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 158761BEC for ; Thu, 11 May 2023 10:56:17 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-50b9ef67f35so15864683a12.2 for ; Thu, 11 May 2023 10:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683827772; x=1686419772; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=y4dB7ekFw9CND226UK6hDbOLw5RQw3W+5HfLFUcbj4M=; b=bbR/Iw4/ew2hIHwNU+7OUJPMCzpe+fygXMahE/LKLF+gcjmdO+4nHREaCVAeMdmH65 e6dCm5u+M47kxLKoBxb+OhqSWHEi5xRLV6OrJIOEtM+E1WjocefEPG7CQtfjlPeHu19k DVrgQncODrfTrNU5cIaTv8UB4WIBqxRpCCQJ3PmoRQ+w4rS2ziuKi8pGj6YvwiUyMfiT AjbAG/BuGt5fP0fury5cMbkP5PpuV4OxfkixqtkNkOXvMLbGVxGxFA06bl4ei5OUyhhc W/zmHzqd/PDw3jbbXnP2AqsQ5IdZn3IvXbaKJaVkF21+ewSe3FJkB62dDxLuyujsc52c u3gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683827772; x=1686419772; 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=y4dB7ekFw9CND226UK6hDbOLw5RQw3W+5HfLFUcbj4M=; b=aBXUOlpBQh5Z9itIkO7vvIZnzOBa2i7NeB3c4PZStH1mg6lPgIfiDqD6lTXhFhON27 OY+mI+lqxP5kPVAE2lqmoS7IEt1V2lVyQJqgKf8GFH3O9gDq+GbFvStV+9c5Vrb0gfsZ 6kgMWSp7RUYL6idSbBojtPXcpzK7e9decmvnvhYnVB2E+XlZBHnBcrVnfNXhj7nyOPW8 BAc5h0thRSLzZnXcMdQwzWNSIxk+uFWFsACcRBZ75mIMoOoUcpFazVnfUSPqswbdbezs rGdThTeZJUgGA+Q1bwuGsFAOe+eEG6bLG8VrebCH/Dt4tQzhXFMJCyqr5DMXVp8dSP8G 9nQA== X-Gm-Message-State: AC+VfDzz5y64qslIgSAELu9y8CqXJye6G3KhCqt9a4SbibwUUtBO1As1 cSDXvoV3Bto0oLRmnvD3uo9LRQ== X-Received: by 2002:a17:907:6e10:b0:968:1e8:a754 with SMTP id sd16-20020a1709076e1000b0096801e8a754mr12746345ejc.72.1683827772136; Thu, 11 May 2023 10:56:12 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:d7cd:1be6:f89d:7218]) by smtp.gmail.com with ESMTPSA id lf23-20020a170906ae5700b0094ee700d8e4sm4247029ejb.44.2023.05.11.10.56.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 10:56:11 -0700 (PDT) From: Krzysztof Kozlowski To: Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH 1/4] rtc: ab-eoz9: constify pointers to hwmon_channel_info Date: Thu, 11 May 2023 19:56:06 +0200 Message-Id: <20230511175609.282191-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Statically allocated array of pointers to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/rtc/rtc-ab-eoz9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ab-eoz9.c b/drivers/rtc/rtc-ab-eoz9.c index 34611f6dedcb..143650cb7822 100644 --- a/drivers/rtc/rtc-ab-eoz9.c +++ b/drivers/rtc/rtc-ab-eoz9.c @@ -455,7 +455,7 @@ static const struct hwmon_channel_info abeoz9_temp = { .config = abeoz9_temp_config, }; -static const struct hwmon_channel_info *abeoz9_info[] = { +static const struct hwmon_channel_info * const abeoz9_info[] = { &abeoz9_chip, &abeoz9_temp, NULL -- 2.34.1