From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753874AbcGDNBF (ORCPT ); Mon, 4 Jul 2016 09:01:05 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:53566 "HELO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753262AbcGDNBD (ORCPT ); Mon, 4 Jul 2016 09:01:03 -0400 From: "Rafael J. Wysocki" To: Jon Hunter Cc: Geert Uytterhoeven , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PM / clk: Add support for adding a specific clock from device-tree Date: Mon, 04 Jul 2016 15:05:35 +0200 Message-ID: <2012826.iGRI857Kz0@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.5.0-rc1+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1466505205-20115-1-git-send-email-jonathanh@nvidia.com> References: <1466505205-20115-1-git-send-email-jonathanh@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, June 21, 2016 11:33:25 AM Jon Hunter wrote: > Some drivers using the PM clocks framework need to add specific clocks > from device-tree using a name by calling the functions > of_clk_get_by_name() and then pm_clk_add_clk(). Rather than having > drivers call both functions, add a helper function of_pm_clk_add_clk() > that will call these functions so drivers can call a single function > to add a specific clock from device-tree. > > Signed-off-by: Jon Hunter Applied, thanks!