Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1975772lqz; Tue, 2 Apr 2024 03:41:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCOWdUoiF+3Vx7lE8FHkGgBVQ8kZIsx9M3uxmJ+WXl9nYZ5JVxh+qWpsChTXBQSOHZq6EN5WYjkyAyrVX0BcJ+qodfU/83WfaHW1pdoA== X-Google-Smtp-Source: AGHT+IHGnHZAd4vpA4DR3mxiw04iiyLVLj6AO35FlBLLX9hvt/cx+UipXm1fEhS/5nDsVO3a2iMH X-Received: by 2002:ae9:e21a:0:b0:78a:72e4:d4b8 with SMTP id c26-20020ae9e21a000000b0078a72e4d4b8mr12879144qkc.34.1712054499395; Tue, 02 Apr 2024 03:41:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712054499; cv=pass; d=google.com; s=arc-20160816; b=Lv8TpE3EBmWS0QOWzBuPzLnHk1zVvSK3Ifp7oskAM55cBiySQ/prOUJL4J+XeFAbD6 8yxJNMNNay27XXHq8AE8SFtPe4XLMGMXY7IEpveArPNEektzPK249h7+hOVn0YM521xf x8HqjjHu0C3h7zHNze9Q7wT+9Wnp0WI4C+UnYLFpaG5AZrXrquOyPdb3MiRKsAiniiAC MflsxKU9MocbdfxDAtaeWVg3Bl8sxhmXM72d7BxMZicxpa9vcGRc4yl1GtZLSU5Cw4pB Fc0JjK3s66yBU5342BBh7HBKX9we0kyJo+MlEXU3Z5nuL+3EKW/6qKXNoVt7tbzoP8vJ RnTw== 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=9PYIxF4j0xg6PPKY6bKCHDAb7yDnCos1Y4nrGksgbb4=; fh=rBtqW5gbM+N8rBw9fElcHNf2qYL/iEAE5EJRgBp1A1A=; b=GgVuVhgNboEO7E+fbti+7SqqNag5iDnFrje6EMA2bWUEwsmLqnVZ3T8E03orolmPI1 W8yuBUK7xTzQyi2pVXJG3+HpXgf1LhkBmg0V08ghOj2k4zcpcSYDAO3qUWSOKqnLgF2H 3J/19ntTM9Kozlzui0/RGXlK7jCzA3FwxsaeJRT21xU8+c9S14jeA+HwjUU4CwbMiq2V FUW3UewatjCUFOO+Ss2xGfFVFBq5hIRE6xDe5Y+OfVJnGOzctiqVPERRJpqqOxPCRG7A Ho2Pb9VqOaUT/SebIdB2F7s9ozeIZWDZc3hrHpN/wyTarwzIpc3B7lg50gYrrVZKFLD1 fAJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GE9/grAw"; 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-127757-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127757-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bn13-20020a05620a2acd00b0078a5234355bsi11382142qkb.179.2024.04.02.03.41.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 03:41:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127757-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GE9/grAw"; 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-127757-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127757-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1D1E41C223D1 for ; Tue, 2 Apr 2024 10:41:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CFCE5FB9D; Tue, 2 Apr 2024 10:40:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GE9/grAw" Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) (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 C45CD3EA72 for ; Tue, 2 Apr 2024 10:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712054447; cv=none; b=dbrXSf3g77pKwpUsE/WV7F+otN9x1mswVyOr99re0byFRqXwsKcC2IQjXfq5njxZswcY0JQw0+OcZowrcnK2vbzj20aLsl4CoPRLNkQP0nHc3WK5JY35jg75w6bquFlMzDRXv2Eh1kcgYLb0NyOT5GVLv4LEJjSzXWJXlzdXmiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712054447; c=relaxed/simple; bh=UsPusJ70z/hTGNwQRA1c0DtkXeRzoz/bLJ9nq3UmtYo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Pqfc4Co9V3RlcJgAubSlGjsVVtE5mGDBqGiKkbaR4MrouFL7oP1rXKMSj0zZKB9YPVqoXWRmNgskaPmwgqeLKwpQx8zxNYWGjdTplfZ8J+MRsnXSBSRBtKngQkNX7RCcx3oKz+GkgzP/f+YOiWgmCIaOnMKsEnxtfY9g7oNUqXc= 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=GE9/grAw; arc=none smtp.client-ip=209.85.219.175 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-f175.google.com with SMTP id 3f1490d57ef6-dc74435c428so4777896276.2 for ; Tue, 02 Apr 2024 03:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712054444; x=1712659244; 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=9PYIxF4j0xg6PPKY6bKCHDAb7yDnCos1Y4nrGksgbb4=; b=GE9/grAwXjS3vyGcP3xO2p7aY4SQE7kknB7whhEJj+RZknboC7Fkvp5M0xLcp1w1YF 9VpuKcerKq53qlB3n6JQSIHAjOlswb4uYVhXhsR6Ja9wE/rPHMag0KbrooFWPEMq+hLH P7hhUzKBJNjEmLbY+0YEbZUL/slxVBYtziKTaXOC98GLtnQuknFdZYcC58bEU3+fj+W2 IWMHarmeQM/wegnsXs/iykS1bPnSwd1fzwdYT3pVsAfNRgxk2Eitfk8A7n60Oc/8jjkj 5aK16Le0kSOPc7dZXxF6fxVp/iJlt2UiWq0n4uKZsaqagXfsnZfC1fXvzH/ekK3lzCGj xzbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712054444; x=1712659244; 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=9PYIxF4j0xg6PPKY6bKCHDAb7yDnCos1Y4nrGksgbb4=; b=Q18JCMRYmFlMn/BBnv/UOErzl5Ugm+RbvX97y/Kn/IydSpAYoDM3BkQf8fNHhZRzzJ Ny9vlROztTs8SbJTuZJBCr0r4Jh8lx5DhRQuxW1suXE8g9f+Evdg7cpP9KmXL8YaVaiz RMdBVGue13KKsOAoAU1joyMewCucL13IoRkeyzJdsCXcqSwDfbYXPByA0TLxVTLGRc9x 1LtXwaXRTGIP5aVPqEEUIUIreskU++mYr57WBjyCoseg0UfF5mrdtb9CULZaVbn95qkb Mlj5ftA6e8QirWka+6GmME5P66pCUmhiRvZvwQDWLbAjliLDz5ZmJiAPJv8d4vfHuJqz 2hvQ== X-Forwarded-Encrypted: i=1; AJvYcCVSZBarbgyo5YPmvwMxfaRonJhlKe/WqmsVc84CvtFn+RXgm1a3e8vMo9Rw1jw0f+EmiqNFkmVsi2dsvf7FTyVULusDlOSFV+8nsrKa X-Gm-Message-State: AOJu0Yyk7us43C50BkTIyqvCZbqBZQAsW0LJ/kC3NZbN3KknuGJML8Qp SZQ0LBvgi88RW//uGXIXPD9bllnC9f/Byx6cBdbk7vLNXBnJrCYBJZNjBGQRIEy9xQvajMAwRwF V4UHtyF+RCWpHZiY/L6vYk7+N8C+3g7gxFPJ91g== X-Received: by 2002:a5b:ccc:0:b0:dc6:de64:f74 with SMTP id e12-20020a5b0ccc000000b00dc6de640f74mr9783364ybr.9.1712054443883; Tue, 02 Apr 2024 03:40:43 -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: <20240402103406.3638821-4-quic_varada@quicinc.com> From: Dmitry Baryshkov Date: Tue, 2 Apr 2024 13:40:32 +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: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 -- With best wishes Dmitry