Received: by 10.213.65.68 with SMTP id h4csp473890imn; Tue, 20 Mar 2018 07:44:23 -0700 (PDT) X-Google-Smtp-Source: AG47ELvKSQoXgRTnw5xhNM/zzOXEsbbVvb4Xpo50CAVBSeYdxOkcO/4tOzzMJE38MgTanTSOlnRG X-Received: by 2002:a17:902:b40c:: with SMTP id x12-v6mr6182666plr.65.1521557063290; Tue, 20 Mar 2018 07:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521557063; cv=none; d=google.com; s=arc-20160816; b=w651pBQhP4DejKWxssYc63VLTuV1N+GdzHeTeKZtMa3jW3hQV8HB7ZDOpNTdm27PeL 1q/2KKGcQmoa/XnerlMIICKSWS9UQrLQbV6+WALfWRKLenQv/qxmvHJ7cEMU+HtyzrfC 8uuC5Vv4CCY+rza94logwzbS24WEbQhUGpJJiM+cPDf4Qkbap03PLx5NQY0i6rGvdJWs 1+NrpIVtJweZvEZyvaP2cYnMuwkDZBkL/+zblqR4LLQoeEn0XuvJg9pH2WOr9x2nSyW4 AB5ZpSdce+2MUpyRUsnTAtUMI58dD3CkuJlJyHZKIW24/ZYAPAj4iuIp+gxLp4OtXjp0 /a8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:to:subject:cc :arc-authentication-results; bh=EFaS6DSpyFtD8DVjylifjfs9cfJZloT6+3C/LVZxsmg=; b=jo1cqB64cyggfSBlUk/+dR3gvBpNayJD8vNHjpBElbButW3C6aJBo/EMfn8VtpEvzT xGqUWiRHOpG8WpB1YYoG/1SrxpTM6EA+Ubx+w194ZUszPmkL3I/XFWbPWfIeby1yoVo2 TATYwC/OrPfI+g1RUoPcTPhx57aVWs14967JlyFxlfjK47rWNKSvbYbtR1Fu1DKIxo+Y Pc5FY5J05O3Uzj/fREsHFuGfUbG+gPnnN0knmRj/z7KkKe1vx29An3wOCURP10UXmvpi g0in9D4ZWT8TB0rY/TgK432lJfKJlEe4QTLOPR4MBOLfAewEn+ldlcDvF4OYH32ZxRSm dkoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y21-v6si1740262pll.284.2018.03.20.07.44.07; Tue, 20 Mar 2018 07:44:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751505AbeCTOm4 (ORCPT + 99 others); Tue, 20 Mar 2018 10:42:56 -0400 Received: from foss.arm.com ([217.140.101.70]:41264 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbeCTOmx (ORCPT ); Tue, 20 Mar 2018 10:42:53 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7645C1529; Tue, 20 Mar 2018 07:42:53 -0700 (PDT) Received: from [10.1.210.28] (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 384423F592; Tue, 20 Mar 2018 07:42:52 -0700 (PDT) Cc: Sudeep Holla , Michael Turquette , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: scmi: use devm_of_clk_add_hw_provider() API and drop scmi_clocks_remove To: Stephen Boyd References: <1519403030-21189-17-git-send-email-sudeep.holla@arm.com> <1521547867-23808-1-git-send-email-sudeep.holla@arm.com> From: Sudeep Holla Organization: ARM Message-ID: <1d9ca586-1284-8b12-31d8-80950f29837c@arm.com> Date: Tue, 20 Mar 2018 14:42:49 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1521547867-23808-1-git-send-email-sudeep.holla@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On 20/03/18 12:11, Sudeep Holla wrote: > Commit aa795c41d9cd ("clk: Add devm_of_clk_add_hw_provider()/del_provider() > APIs") adds devm_of_clk_add_hw_provider which takes care of deleting the > clock provider when the clock providers device is removed. > > This patch makes use of devm_of_clk_add_hw_provider() instead of > of_clk_add_hw_provider() so that we can eliminate the need of explicit > scmi_clocks_remove for just doing of_clk_del_provider() > > Signed-off-by: Sudeep Holla > --- > drivers/clk/clk-scmi.c | 12 ++---------- > 1 file changed, 2 insertions(+), 10 deletions(-) > Sorry I forgot to mention before, if this looks fine, please provide ack so that I can take it via ARM Soc. -- Regards, Sudeep