Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3652364rdg; Wed, 18 Oct 2023 01:46:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWM23dtim8CDTysY2YVdX09fUw6pN1kf+M5xJCmrZ7Z+a7wQ135db38vzy4udNPvVv6pMt X-Received: by 2002:a05:6808:30d:b0:3ac:a522:5461 with SMTP id i13-20020a056808030d00b003aca5225461mr4930136oie.36.1697618770408; Wed, 18 Oct 2023 01:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697618770; cv=none; d=google.com; s=arc-20160816; b=xFSYZnGwGYBHNtrMmFwN1RGm0j0A1LiiFQO0G4O+YiLGCAyrrwcZcFZbxK5bG1yzwt xiFDZKBSBp4zg2M3n5vlUOWD7XgvsCP0n8vgRlhqT8fQRtYKGFDweTs5uccj9Yl+Y4QI WC/KUoRlP6NqD5C9YWbKUSOyJxultZ3GqK4stGBtLzyJDO1rgyLfK97/ns1k1HhvNOWJ OmHkpf6SALD1NukvZSCK9RV41QHWeBxKiN4dAeABPLMXxWTj14+6vlvDCuOkisEyNkyy iI0OXJLbDBGRG2Tz63nQNq8b0s3Qft/fZWbQhzkgpoBUW51mLiX19wshcgmDOfzM3VLO wuBQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vuSYY3UGKypgoG2oO5ZQJosLBGlI5DqiAchgtxsdT+A=; fh=pOYeiz5VwQrYsKL6A8reUuIwKgpg+A/uzYWCp0qcXJA=; b=CUBcbD3mnoHzzQ+l/RVhBzgwymRU24og3WT7QXrtec7KUztKEDqop9TV2MdkuX/5XK 5gl8Y6gRGE1qJNIiknK72Q94NLdXacSQE3euGXgie07Mnb2CHyP8R38GRTlalP7qIkaI /Ymxy7f0aIaObGbRotIgTzdql55mnC3q/+U74JuWEhVJkdoPoSEo88tX8CQuhHMlra/K QZADhIjaSaR2EhjhCxmv+I5KlaU5k/CA4nANsRXvAkBwtMh+ps29tdadYy9oRCUFvhBU I9VwbdRdohuYJItOcZwi4ok6jBOrlwq7fBf5G7i4DW0cprqIi+37lojfUzaLmPEIqqGH Cd/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiW4x9X7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z16-20020a656650000000b005775a4a2961si1677798pgv.657.2023.10.18.01.46.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 01:46:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiW4x9X7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 336808082DF4; Wed, 18 Oct 2023 01:46:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230094AbjJRIp6 (ORCPT + 99 others); Wed, 18 Oct 2023 04:45:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbjJRIp5 (ORCPT ); Wed, 18 Oct 2023 04:45:57 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8849FD for ; Wed, 18 Oct 2023 01:45:52 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-507c91582fdso424041e87.2 for ; Wed, 18 Oct 2023 01:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697618751; x=1698223551; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vuSYY3UGKypgoG2oO5ZQJosLBGlI5DqiAchgtxsdT+A=; b=uiW4x9X7+oXbI5SPD38k2qtsRFEyiYJTgU1qhvI0tdGAWFi/ttyVByam7Ugtzm6/+V 7lgfI7267nazWExKIc9Ef0vV4K/IgmtraNyzUKdnq1trmUP5TOcHeadlSUjhvHZVkppC kPmkZPtFOTCmiNFfHf44cLBJtI7526AaIol/IKAhP6RKAPQbLMrcy9JJXpVAguIsZCvE uTFVs6OEaa2YRGX7ANbvT8AG7uFMhQow6MxFRAb5yFGlztSoM86p5qqBPVDQ/u9sDmZl 1flyMSo1DMeF2umSPWEd6J/YjyFD974gr23Ktn77PxHpFFHTnFhXaBQzuxvTVoY+sl/R a9ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697618751; x=1698223551; h=content-transfer-encoding:in-reply-to: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=vuSYY3UGKypgoG2oO5ZQJosLBGlI5DqiAchgtxsdT+A=; b=N8SjPdkHEXRSXZccw+SIpgxa48zl9ggZshWdk2TsxhxpuGUcZHP9w3+Tl3FzL9gQS1 UHJ5rLQEa8a1KPIKIhkI53hwVV+w2XB/dvxVoT+giQAOHBaeTntG7UNbAcAiZ93ftQzd NI3BnfgPEsNlkkSQPF7JylpiDaxEbBy4CsSH9NsPEf8Pqwi1s2GTwF5LIbWg97fY+LAi v69CbuViZ4UlXiS0VXODBTdlqsEyO+BgTZh5blIzLGfdFiHXXZKph8ndfulkmW/UhI2s ZzdIWWjdp5ZomsYiaFJtBgrWM78PgUmeEl7pQ+btoMbMHoay+uAXFxAHUM+5ao5oHFSO /dVA== X-Gm-Message-State: AOJu0YxvLqS2US6vNLWPK+71BQ6umA+YU2xukOSCLzZNkEklj3l3wDlX ymDJEs5A7GQ8swPI6IFrOxdcrg== X-Received: by 2002:a19:645b:0:b0:507:b935:9f5f with SMTP id b27-20020a19645b000000b00507b9359f5fmr3390635lfj.24.1697618750850; Wed, 18 Oct 2023 01:45:50 -0700 (PDT) Received: from [172.30.204.55] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id l2-20020ac24a82000000b00502fd9110ffsm615707lfp.294.2023.10.18.01.45.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Oct 2023 01:45:50 -0700 (PDT) Message-ID: <06f3e2b0-bfeb-40db-92e2-279abfbb98cd@linaro.org> Date: Wed, 18 Oct 2023 10:45:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] cpufreq: qcom-nvmem: Simplify driver data allocation Content-Language: en-US To: Stephan Gerhold , Viresh Kumar Cc: Andy Gross , Bjorn Andersson , Ilia Lin , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Ulf Hansson , Stephan Gerhold References: <20231018-msm8909-cpufreq-v2-0-0962df95f654@kernkonzept.com> <20231018-msm8909-cpufreq-v2-1-0962df95f654@kernkonzept.com> From: Konrad Dybcio In-Reply-To: <20231018-msm8909-cpufreq-v2-1-0962df95f654@kernkonzept.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 18 Oct 2023 01:46:08 -0700 (PDT) On 10/18/23 10:06, Stephan Gerhold wrote: > Simplify the allocation and cleanup of driver data by using devm > together with a flexible array. Prepare for adding additional per-CPU > data by defining a struct qcom_cpufreq_drv_cpu instead of storing the > opp_tokens directly. > > Signed-off-by: Stephan Gerhold > --- Reviewed-by: Konrad Dybcio Konrad