Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1984955lqz; Tue, 2 Apr 2024 04:03:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTiE/n8x13w50aV+cMc1OBbFhdEDdF1KX0UQHRKMVjr0dDIsmUlAfcCCJgR+Q5DNaPCp1whNzo2e1/uZsT5LPjLXyUV1aEKkZVuqZHww== X-Google-Smtp-Source: AGHT+IHTG9rWll34r0EnaZQFfL9D04P3p0/yGAAJ/I9ugXrOPjl4IZshZ+SoDALLugf03iIHv/z1 X-Received: by 2002:a17:90a:eb17:b0:29d:fb03:48b0 with SMTP id j23-20020a17090aeb1700b0029dfb0348b0mr8959963pjz.44.1712055812147; Tue, 02 Apr 2024 04:03:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712055812; cv=pass; d=google.com; s=arc-20160816; b=0GTbSJa4iglcrBhIEPR9cNpSywfUdPyAo9axRlTRLtYaxUkDxbfhJc0dfblrkKWz2Z AQiLsus+jAV5dsS5kkt+kUMkd01Ab8UZAuBObx9eTYXvQyUlogBSE9QdhxSGXDxiioQA 1j6bqKpAbryh1RS5CfiRqACbl+BEcxtL3IpFKMkSKWA8e7qs4avZ6q5cl6KQ4TTSOULM J/hzQGlqHdxLaimxqyocVCDouTe/XGatqy7bDadAbvChVpKCjZ/ZGmLIVcsZShlttib9 D2RsDSD8ATNki7tkswAGtorAACyJrlaYGNL2m+eCDQgFXTYde3GAhuG87aM+jjUS9IUT dG0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=+xPQyCvLo53dq7pKGpQQof9V6YZJuIofT5TTwfg8858=; fh=If/5EyAIIf8NgQ4kjT3AccOvIOttNTKze0KYej6CfT0=; b=nruGfSVuhpRme2h8nMKFddBqvLt9KpDgZ5Fc9HzMYRPdsx6118A8yiUO3rQUjyq81t Vy6gDNUGAr1KeNSCUK+zcifaxA4KA/jeJ/4dRbPfKHoRoTlHfzQ+8iypdz5qSBgsj/GR kkJP5zsKpKgRkUR+/jtHo/oBbEwzuL50KKC2IWJQSxC7OHMWW3rS4/7Up7udaPHWy+AW 3mxcJY7BQS4cqPaCK6hG+HLiqKMNCg2nrqLgk5fY7wum8Rze3UL7pLGOerPHnoaODaVF b8JxtZbs4oGSHseqiEV+J/Y1IC0turmUMQo2x0QLZ3BpLqNJbIV9DXbhpFjv+DyV5bHN +oLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u4tCu6Gh; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-127769-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127769-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s2-20020a17090a1c0200b0029c5a2eb850si11131638pjs.88.2024.04.02.04.03.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 04:03:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127769-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u4tCu6Gh; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-127769-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127769-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8B84AB231A5 for ; Tue, 2 Apr 2024 10:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72D1B5FDA9; Tue, 2 Apr 2024 10:48:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="u4tCu6Gh" Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (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 C042F4776F for ; Tue, 2 Apr 2024 10:48:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712054903; cv=none; b=BnXlKDKmJk0ineZZoFI9AkWyV+DCO9jqUM4UzEGm67LzIdm1sDnuyUqd2DkU31T1JmTLgp3W/9Osx+gHOdwNms9nq5fEevUNeT9EqHpulzm2FC7uWmNVPcC3rvi2FckIZxNqOzHNH0kcyn0wtVytgXnRzlcKXYA71n7ZQr1kCIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712054903; c=relaxed/simple; bh=qqkptkwBB5jmETqLjS63zlxdb+z5eD6/k+FZmoOcCP0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=pgpbYw5ClnZ9Q2IQZlz1tcrjDROzKG+1frP2IfRabsuE7B+y/mL92unbWIbN+0GXkk72hjwE+C4SShgoT+KnQI99cNMO5wb35IJC78ohRU4a9Fcqh5iMBgfB28isyLKrJ25lUkqfNefNQrcu6E17AXcu4dbPLwH5GN4AdsJoLcg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=u4tCu6Gh; arc=none smtp.client-ip=209.85.219.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-dc6d9a8815fso4837450276.3 for ; Tue, 02 Apr 2024 03:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712054900; x=1712659700; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+xPQyCvLo53dq7pKGpQQof9V6YZJuIofT5TTwfg8858=; b=u4tCu6GhOY38sRAviEV/tKlL3V3tT2l3fvAV59tynf3dKBVNSfO/RXTM5iS23pXu+7 0qvMqTLkTyQqwMB0XwY4ciDrt21N1kbM3QG6YvCZtCoYUGcUiffQDKuSH56LkBwHUhES hOJVE4POJfo4e+7Q02ODEDCgG+/dky/Z1jpgk3nWT99mwem8H4e/cyAPXocjN0ZyW0sG w13myAXscyDancBhQqgM4ply80ZcqpNRp8MWGPTKaRGQfIPjRRBObK7u5Op3wtSAukId c/hAdLOzFkcrrQmRwa+TtxBMj4R5WToq8vDsSc5h3taODFEQh29ntK/JvlLU7IbLeikt sakg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712054900; x=1712659700; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+xPQyCvLo53dq7pKGpQQof9V6YZJuIofT5TTwfg8858=; b=L3Q59J1pTyBY8uvQoM1clBMj6Ntz83ciOagbt3vDJduS0DqDzeg6JGLjMqlEwpwmli XLzdyuadjRD6cLnK9MJONs8Bcr6LnqffhgOLNgZxZZqoN9X8nCITteaKxj/b3NetyVA4 3ztei3ttutuKzHrUAoWi6cYTWqMRIz+I0VQyWuwyjCqK+/MAkTj59Pu+8xz7urYacmjc 4afINxA44z6qSZY5bUvY15jVFn6mxTcyoCoB8cE/0kO4aNcjRV5ge95zIHIi3CMnh3yb XxKAmvBPYKMkWYkkvDvRC6cRJSxBKSV6YFhka2uIRgbx/rDwaGVPUoQW9Pdsm21onLSa YrKA== X-Forwarded-Encrypted: i=1; AJvYcCXMCiyDRbvZsrMPpHZRvlYsFBwrr3pwrxUQutnaLDG8UvFl3huJaJoS6qBCbBlePpqMzB46bfXhddh1HWdP6w373dm8NoHtqqNXYgJG X-Gm-Message-State: AOJu0YyNhMsLpwl6RLpTGJ1iWHksbS/U8DvhVVdEXGfIrWZO0NvzHiDd j6Naocrc9zDTQUKS6l82vPDjjE7vymiXId85nBbNmUCv9JvPumYC61pLm+wYpzRlZ/WeBhTSF92 5A61W7IbrcgXoCZ4LIkfReNRt3Zg8BZPpEKnchg== X-Received: by 2002:a25:9a05:0:b0:dcc:9e88:b15 with SMTP id x5-20020a259a05000000b00dcc9e880b15mr10209955ybn.41.1712054899681; Tue, 02 Apr 2024 03:48:19 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240402103406.3638821-1-quic_varada@quicinc.com> <20240402103406.3638821-4-quic_varada@quicinc.com> In-Reply-To: From: Dmitry Baryshkov Date: Tue, 2 Apr 2024 13:48:08 +0300 Message-ID: Subject: Re: [PATCH v6 3/6] interconnect: icc-clk: Add devm_icc_clk_register To: Varadarajan Narayanan Cc: andersson@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, djakov@kernel.org, quic_anusha@quicinc.com, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Tue, 2 Apr 2024 at 13:40, Dmitry Baryshkov wrote: > > On Tue, 2 Apr 2024 at 13:34, Varadarajan Narayanan > wrote: > > > > Wrap icc_clk_register to create devm_icc_clk_register to be > > able to release the resources properly. > > > > Signed-off-by: Varadarajan Narayanan > > --- > > v5: Introduced devm_icc_clk_register > > --- > > drivers/interconnect/icc-clk.c | 29 +++++++++++++++++++++++++++++ > > include/linux/interconnect-clk.h | 4 ++++ > > 2 files changed, 33 insertions(+) > > Reviewed-by: Dmitry Baryshkov Wait. Actually, Unreviewed-by: me Please return int from devm_icc_clk_register instead of returning the pointer. -- With best wishes Dmitry