From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E7DBCDB47E for ; Wed, 18 Oct 2023 08:46:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230195AbjJRIqD (ORCPT ); Wed, 18 Oct 2023 04:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230185AbjJRIqA (ORCPT ); Wed, 18 Oct 2023 04:46:00 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5482FF for ; Wed, 18 Oct 2023 01:45:52 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-507ad511315so4353843e87.0 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=TxefZu4qPp/eDva0NtpvbGJXg3cVx7GwwnVtohY2XxbLAdTBXXWxk5dz7Qka+bZkJ3 URyxyqbWQZNqLv3j9ks4WdT4mZGo09RSI8WxBM6dXI+BCdoOlG5G5HM0BL2/LkB3Un27 84eJSEDUX6LBR0pbrdTRuq0fd/2teRm0aSg83MQRzFv5UBos54/Z+wJprPWcAwAAwEzy xkXzubPtN3N3gu9XsKm3ly9Oe1guzZLYu0b1DAoljNjZHk/4tcDuP+rhGwYti2O9xBUn 2DT6HkaEfIbtQVCbuuAaTNe8YynPC3WaGsx65LvYmubVl8CZ4sjuq0m9idEpeg6v9swt eN/Q== X-Gm-Message-State: AOJu0YzLE5ZTS67kiGoQw7VWX4SRK8bsh2Xz03CFSNoXuJQGFtiv0341 I4XQ+X+7J4UmJjmz+xWOgbKJwA== X-Google-Smtp-Source: AGHT+IFSrAtYIXnsRJz+6mqib8VMrG9JuyZoa2zobypzJyTfE5YOgWamYLpLwlmq6ZWXvifQ2+ZqTA== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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