Received: by 10.213.65.68 with SMTP id h4csp551428imn; Tue, 20 Mar 2018 09:24:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELv2k5h4crQfx8o7ouc8yzyVEK8hTZqVfSjIo6UlHYOcF4iOehuCP0lJAKsI83oTHnvvhI4s X-Received: by 10.101.64.9 with SMTP id f9mr12802116pgp.247.1521563081740; Tue, 20 Mar 2018 09:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521563081; cv=none; d=google.com; s=arc-20160816; b=S5RzkGRMu4rccpKA3X+tQg1dUnKVwGHwyRpHfZTqOR/lyJAXZAq40bKX0rQrf+Qh/t h0wmajodANwcCN97m6v2+0bEwwDasnJNb5ak0nLIDikPQKqaM/BO2q+LP5fW8UduXcEU krPzIY4/XrYh6PFnW7WR/nNzdDdm12kiclVhVAgC9sjns7wzDIPSBGhhlB1O+DvF4QeU LjP0QnZ2QsVh/Yxfm6MgwanpQdS6Ae0c46XcRng5MofZPg4DkVGekTfiur79ZuCoco0u JcTloG+Z0qD80vkcfRbL4Y/47P/Mtc5VmfGJiqPdv3A7hCbZ2AXZQAuPhpoL9I8CMPs1 mMag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dmarc-filter:arc-authentication-results; bh=xn3hCaWmBZ5bQZSQ7VDRY65hmXolZVr8RIVir9UJ4SU=; b=FBV+4TpbxI4c29JNYzog4uNBy0R4ROd3vvtDapAmjHv6A7fRZuBjWu7XInGPHh8fu+ 3QDduRS0Fj1gC9rDXi6UPPMKIe63QDj4AnAFMf795vnZM4mD8y5nUk4tpY7car1PS+1e ydyh9QUWXK4FakePKnHR+UjYCHQn1ygIQ3kZAL76gvBTXGj+MLeYZfLEIWysByyAzoOu fgStXKBw6hh8SXEsoRMHvOZdMQ82/3T4Zx/tZ3oaXshsnwvxqsNAtPBmu9e5y/P48nDv aPQAiqitPHXz4/IwSNDYas21+t6K9ibfCkpl9/CSrV9IlYSUwNLuvFBMzpIl5Prx0xIh PEHA== 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 c14-v6si1822997plo.652.2018.03.20.09.24.26; Tue, 20 Mar 2018 09:24:41 -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 S1751688AbeCTQW4 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 20 Mar 2018 12:22:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:42994 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751310AbeCTQWv (ORCPT ); Tue, 20 Mar 2018 12:22:51 -0400 Received: from localhost (unknown [104.132.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 690A82177A; Tue, 20 Mar 2018 16:22:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 690A82177A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=sboyd@kernel.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Sudeep Holla From: Stephen Boyd In-Reply-To: <1521547867-23808-1-git-send-email-sudeep.holla@arm.com> Cc: Sudeep Holla , Michael Turquette , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <1519403030-21189-17-git-send-email-sudeep.holla@arm.com> <1521547867-23808-1-git-send-email-sudeep.holla@arm.com> Message-ID: <152156297081.254778.8373273607540232473@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH] clk: scmi: use devm_of_clk_add_hw_provider() API and drop scmi_clocks_remove Date: Tue, 20 Mar 2018 09:22:50 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sudeep Holla (2018-03-20 05:11:07) > 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 > --- Acked-by: Stephen Boyd