Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp146150lqt; Mon, 18 Mar 2024 04:21:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJXltrHmuvGImUX4RRIm7EbuA6jfKA0zbW65xG5bCnmmSZkkYFHrE5LPNIDuGU3hDBPAe2gyMsN1rVIUCSQ0jSdruXA7UjLCytZ6GUfg== X-Google-Smtp-Source: AGHT+IH+0eJGIcSh/bmW8BVFqLjK5iPbfwC/Kmlp1UdXVEs4U2sYh1mcxlxJ0+Abb+a5Fq6W4KN8 X-Received: by 2002:a05:6870:14d1:b0:21e:623d:8bc with SMTP id l17-20020a05687014d100b0021e623d08bcmr12588276oab.17.1710760862231; Mon, 18 Mar 2024 04:21:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710760862; cv=pass; d=google.com; s=arc-20160816; b=BWgUKnx8DrBvu/aMROCZICBaSeCjXJ90dK182x0vLrJ3j93+SguD989mRuY2BxLNAT wVMdU/9dTzFJm2aP/uwxbM+s9tr2gwi0nzZ5v4otg6XV6NgHeeTxqydGi3k+P6qZ/Ciy qK412xqe6w4Oj4aieAFtRD3Hv5EhBp4OjCpnTkXGytv6gL/FyyYMxszDxKAuBWmx0IzG u3cgKYD6fIP0PbQ+Bmud0TMKQ8/K43FXzHezxwKtZ8xbnE9Rjj4KbfxKn+am0NvkK0bI qzcBD3nN11yvtGAju63PFhmV8iSXNQ/69zAgMyvdpEjRLKQE8fUM432p5ThkywxyUz+x pl1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=11SsO5DV2l7dsIFWxNjWwkgefIRCA6N+9rlBR7yanMQ=; fh=tCMX+kdWI0d5CJpFyNMryoFgQaOachyheyHDbFiM4pU=; b=tkA2WAJM2wVAo9GPuPgtOnhF/iawg4eZob0Hkwtg4a6t7caa+Zn2/CkSwXj3xYeFz0 o1hSQIu1StA7xARWdChB/pPpt9GLK6EuBKyGiX0SBma27dfDr7DMkGzlM6413j1zh5+G BzreQ/JMpRdsINupuegq/FAY0U2PV4nZ+4/yAvLeEXb+lGXStlpSH3hf7XHv8V35chJY SxI5o6PVeEdHMcfsKonUbqi5x3BlEeZ/xv1juNzYUrHlZJH+cesUYNl45o4Dy2mRCHN/ Ie9C/2Ty4L2sjx2kKLX9sS4EtaADNtE1MDI2xXT3rt2+zEjNL+kALS5eGl+TWJi7aT50 ZLwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JzbMFTFj; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-106057-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106057-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j191-20020a638bc8000000b005e840ae9329si2979421pge.300.2024.03.18.04.21.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 04:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106057-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JzbMFTFj; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-106057-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106057-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DEFD5282A51 for ; Mon, 18 Mar 2024 11:21:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BEC538F96; Mon, 18 Mar 2024 11:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JzbMFTFj" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0475B376E6; Mon, 18 Mar 2024 11:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710760808; cv=none; b=COvpoM5AfQlG8VgdxoDfakyhTtpn3mMSx2lXU3YJNplJLxifTayCrTGYhQFsG7gQrnVznf2DHWj+hc+6PxLhIRchleFAruEuQ4/HXhrfls9gwa4tWUNQPhl2ZDmNg5r54anAKekyfmC46IkYhJ14dDn6D/hfEPkSfJo6zqJJvYI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710760808; c=relaxed/simple; bh=h168MlEyYXbWqKmcr3c1QrEYW+OujZ+/o9TumUSwsqE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PB23//lSNdKOcNV4BeabupYHFVYQ3fIIvjufdTvI93A2/G7dxwyVHJh0HJSk21vQjCPRpK2eI5IYpMQIUdo4iza6U0cEivZQPdGAIOKQkkDcGsxNBjFc7wptmOOcqymMb2S4K0WjG5E9T0/3cpDLsx/Imxt2OtnQINDfqgVvZHg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JzbMFTFj; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-33ed5b6bf59so1580283f8f.0; Mon, 18 Mar 2024 04:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710760805; x=1711365605; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=11SsO5DV2l7dsIFWxNjWwkgefIRCA6N+9rlBR7yanMQ=; b=JzbMFTFj4fia25eKpEJv6uw2fj8RkPSoMynJ0cH8dNVrW3EbWUQmXF44zVWQkxSmK9 Ks2Zns/Mrzj8PXoarOI4SrH+asH4pQvF9MnVnj4+ihMNMaw+aUfUVWC6Quw7CnGMWa/4 DXWUl3HW6LGFKbi1gJAPC5Mg9PVroHKAlxFAbTFn6L1NXmgopsGC5n+UIrvtZoJPXt35 h8qtLwC2QtdgFmlfdt3s0iJwqFeelPJEHjMZoGWkSGlCYGjKGU5lrKsDiJ383FMLlKh/ uvoWMBtyoFhNaLI0gO3bbQUAZDMtWwrbwz9Hl+AeUEsvD1D/A3hchZ4yRQ/HvwHHREAk cTXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710760805; x=1711365605; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=11SsO5DV2l7dsIFWxNjWwkgefIRCA6N+9rlBR7yanMQ=; b=fBtBRwv1CwFExKtO16r8utY8KTZNZreH1D9kOuKMf/Yh9vU9QpK6NdcuDwyln3NXCB h8ze9Jnbdqu4/G/6BAo798/HAqdmskgodw3i5iiUC8koH94lkMFf1UfQ0RwFn+FfEm21 gQjRR6KBs0S4qdguuYRz00N57mT+C2FrRAovMq4DVlCLQzu1QLuLBtWm1VOx5LNDdDWf Y6ah8oOMonqDwHi5rBptXtDIHU0HDcvCWVswKYTdbvZmJTcx2cE5eb+Yamo6X/zZy8jc HFxpCvIHzcTEzR/b7ZBmokrl4jQwquheaT0yOfjtVgJO6swdXuU7HCkHYB/WCNOQSMsY +Shg== X-Forwarded-Encrypted: i=1; AJvYcCXI+f4l/it+sy17ZZStWJusIQp1C1y99pnamqpw1YfIQfBqve0cIQgc6OJ3NeHob8W8eQEPXP2lctKZ+Fjrxg4OgigyZBdh9t7UBUYAz66ylBx0X6uRGsKZxbAbPVAEyO2dhCJ71FI7 X-Gm-Message-State: AOJu0YyUjt9akZiBFw4LltIVqhgvVfQ6IK4wrxsZOEg0enzXwhxaVnXx 0judxcpITq4433MVQGwpiZZq3sgav/7Gg2Cw54wA7CX0eyHyHQdL X-Received: by 2002:a5d:6a04:0:b0:33e:79d3:2cb with SMTP id m4-20020a5d6a04000000b0033e79d302cbmr7448322wru.38.1710760805376; Mon, 18 Mar 2024 04:20:05 -0700 (PDT) Received: from [192.168.20.102] (57657817.catv.pool.telekom.hu. [87.101.120.23]) by smtp.googlemail.com with ESMTPSA id az1-20020adfe181000000b0033ed7181fd1sm6650421wrb.62.2024.03.18.04.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 04:20:05 -0700 (PDT) From: Gabor Juhos Date: Mon, 18 Mar 2024 12:19:58 +0100 Subject: [PATCH 4/5] clk: qcom: apss-ipq-pll: constify match data structures Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240318-apss-ipq-pll-cleanup-v1-4-52f795429d5d@gmail.com> References: <20240318-apss-ipq-pll-cleanup-v1-0-52f795429d5d@gmail.com> In-Reply-To: <20240318-apss-ipq-pll-cleanup-v1-0-52f795429d5d@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Gabor Juhos X-Mailer: b4 0.12.3 The match data structures are used only by the apss_ipq_pll_probe() function and are never modified so mark those as constant. No functional changes. Signed-off-by: Gabor Juhos --- drivers/clk/qcom/apss-ipq-pll.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/qcom/apss-ipq-pll.c b/drivers/clk/qcom/apss-ipq-pll.c index fb015385dae4b..6ee71ed6baed1 100644 --- a/drivers/clk/qcom/apss-ipq-pll.c +++ b/drivers/clk/qcom/apss-ipq-pll.c @@ -156,22 +156,22 @@ static const struct apss_pll_data ipq5018_pll_data = { .pll_config = &ipq5018_pll_config, }; -static struct apss_pll_data ipq5332_pll_data = { +static const struct apss_pll_data ipq5332_pll_data = { .pll = &ipq_pll_stromer_plus, .pll_config = &ipq5332_pll_config, }; -static struct apss_pll_data ipq8074_pll_data = { +static const struct apss_pll_data ipq8074_pll_data = { .pll = &ipq_pll_huayra, .pll_config = &ipq8074_pll_config, }; -static struct apss_pll_data ipq6018_pll_data = { +static const struct apss_pll_data ipq6018_pll_data = { .pll = &ipq_pll_huayra, .pll_config = &ipq6018_pll_config, }; -static struct apss_pll_data ipq9574_pll_data = { +static const struct apss_pll_data ipq9574_pll_data = { .pll = &ipq_pll_huayra, .pll_config = &ipq9574_pll_config, }; -- 2.44.0