Received: by 10.213.65.68 with SMTP id h4csp347339imn; Tue, 20 Mar 2018 05:10:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELsXTLxxdQmH+H8Oho7UmEjaMT9P2T3rv1ML5ZXr32yEpma5n+HUQPlnd8w/uQ7OwxndpFup X-Received: by 10.99.110.198 with SMTP id j189mr8436202pgc.71.1521547827350; Tue, 20 Mar 2018 05:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521547827; cv=none; d=google.com; s=arc-20160816; b=Z69UeAWM12g1PQQlv0+Px0FFhPy7aN3uh28mFPUHOCqg0XmsvKlvoaJQNCS5dW/AUQ tcrNMDBAQuSc6ePfJBFVWpAIFSYdYGTAh6K+4plmXswOdByfGyBY7NRZl70SKyci43VN vWFE5POOsL9NA3dAPU5XbDcJotXUEAWU+ZucQ3Ocw03zgLkuzotI5V26pPSuDf5YKKv7 Q9BdqpoaSvp+ZvaWtnSvFZxk7lPK0i1O2T/OlBjlWADPugPg1PdidKTbg1Toq9SaABZx xJ3xo60dyorodEJLxexrF+0FWA6HM+nGtX+L+S/yZ7p6JWAJKiVKm0AcJkAenLRpYonx 0t8A== 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=6BubXeVsFBTlvLeWc/tRAEcwyaNPAbr0OeVVo6/14jE=; b=FJKR6gTvfICW2ueSbFu54qFRxL4J1aBWaHSRh1hZveIKiqgISfmGyn2y4Myw+2PNLD GA4xyh/XIzbrt7wmqtcAH6x8sKnAONhPAB1vsSzTFqFtpHk+MTZKsOG4C3fonZdwzEGz BVWLc5EoU+YHWSkxLho3QXrAiB9ABIOFuzpBs1cg2CNZ7PLT1RDA9jqRmhmsyGAlJvMy nMBrxqLXB6T70VcxylRcv8F65m/+3JAy79P8boCGsE3SvFtA2i6xnLDDoO+1eXnR5y5m 3qAOWcZjEvdi1QvusN56wWkkngmRvyMbs6Za7IsPBcQx4M+keOBVqZT9vKoxzTmyVhnX dofQ== 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 p7si1127846pgq.8.2018.03.20.05.10.04; Tue, 20 Mar 2018 05:10:27 -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 S1753141AbeCTMJB (ORCPT + 99 others); Tue, 20 Mar 2018 08:09:01 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:39356 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752821AbeCTMI5 (ORCPT ); Tue, 20 Mar 2018 08:08:57 -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 23DD080D; Tue, 20 Mar 2018 05:08:56 -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 0EB353F487; Tue, 20 Mar 2018 05:08:53 -0700 (PDT) Cc: Sudeep Holla , Arnd Bergmann , Greg Kroah-Hartman , Michael Turquette , Alexey Klimov , linux-clk@vger.kernel.org Subject: Re: [PATCH v6 16/20] clk: add support for clocks provided by SCMI To: Stephen Boyd , ALKML , DTML , LKML References: <1519403030-21189-1-git-send-email-sudeep.holla@arm.com> <1519403030-21189-17-git-send-email-sudeep.holla@arm.com> <152124137391.242365.17144416413429914606@swboyd.mtv.corp.google.com> From: Sudeep Holla Organization: ARM Message-ID: <6b5a56f7-ff0d-dde2-097b-bf245971e8a6@arm.com> Date: Tue, 20 Mar 2018 12:08:51 +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: <152124137391.242365.17144416413429914606@swboyd.mtv.corp.google.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 On 16/03/18 23:02, Stephen Boyd wrote: > Quoting Sudeep Holla (2018-02-23 08:23:46) >> diff --git a/drivers/clk/clk-scmi.c b/drivers/clk/clk-scmi.c >> new file mode 100644 >> index 000000000000..1e4d7a57779b >> --- /dev/null >> +++ b/drivers/clk/clk-scmi.c >> + hws[idx] = &sclk->hw; >> + } >> + } >> + >> + return of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); > > devm_of_clk_add_hw_provider? > Thanks for noticing this, I wasn't aware of it's addition. This patch predates that :( >> +} >> + >> +static void scmi_clocks_remove(struct scmi_device *sdev) >> +{ >> + struct device *dev = &sdev->dev; >> + struct device_node *np = dev->of_node; >> + >> + of_clk_del_provider(np); >> +} >> + > > Drop? > Sure, I will have to do these changes as add-on patch as this original patch is already queued in ARM SoC tree for v4.17 > You can keep my acked-by otherwise. > Thanks. -- Regards, Sudeep