Received: by 10.192.165.156 with SMTP id m28csp813171imm; Mon, 16 Apr 2018 09:06:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+YyOIj7G3EkSd53Gky4H+csOgdfwBARmaLnWGYHS1/rT16SUCFR/+JyLRG63timZuiJGl5 X-Received: by 10.101.87.201 with SMTP id q9mr13698890pgr.215.1523894794119; Mon, 16 Apr 2018 09:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523894794; cv=none; d=google.com; s=arc-20160816; b=TVMwj2fP6JvgBg0CsfEfixZVAFT1qZOeILWKpwqVKBmY1Tlxg9vSDy8oEaYARGLcZ4 +zfbtCTFp4wSPE6bk7TVORj8EQ49NsEpbZwuCPSZRafhyo7ih5rX+YvGS1Ki46EWEjix MYU9VzAgd7fIM63PVE4ahIb/jbmDJKYxyhjxsdShBLnU7o8XP8B5xTUiMJLnlnRD6Hz3 +OgpE8FUXqHgxAmX1YPUDO7QFf4PHpPbOegKh+O8UuicW+NedsSI5Ig/DE+BDEHfrLj0 6VHVkWTqVgGVFD0TBt99FeONDI14O10OXLUJVw306kTKeHOQ+UFhkBQ5xcyUfkOKSZO9 wr4A== 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=P6s9QT2hALspLVpR4Pqx4YbRJby5ioCoKUsVe75FsZw=; b=x+zq3msg9KAvvW89CTdd8Fk9ge2aTauA5XrQpN1vuoB9SvwMuZymqfz2npaWYJKFY4 P0QFQaO86RRjBiaKORBrYqkoqGqSN9MySnfHWYi9nj3ZldqdnS6YL976EBZ+5MaGwUhk tFVfkBvFwvTiSCw6MAK+MjJ86/WownnsERhvrXiR72pYZUO9bb7n+PCNeGnCeJJOP+Oi lViW9pJ7M/4TlTBDo0qd+2Pk3P1P/YR3TQs3O/ucE9rBDtpK8Qg97X3JLVxTJZRMkB9p 46kDd9CevfqV5CfgiebO4sbtUA7fCFp1PhGFuakUbW0UoWvlen+y+WLhNmSgt/pDzyzL Z3oQ== 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 r3si9369956pgf.125.2018.04.16.09.06.20; Mon, 16 Apr 2018 09:06:34 -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 S1752887AbeDPQFI convert rfc822-to-8bit (ORCPT + 99 others); Mon, 16 Apr 2018 12:05:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:59250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972AbeDPQFD (ORCPT ); Mon, 16 Apr 2018 12:05:03 -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 BAFEB217D9; Mon, 16 Apr 2018 16:05:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BAFEB217D9 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: Geert Uytterhoeven , Michael Turquette From: Stephen Boyd In-Reply-To: <1523364701-15383-2-git-send-email-geert+renesas@glider.be> Cc: Rob Herring , Frank Rowand , Daniel Lezcano , Thomas Gleixner , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Heiko Stuebner , Thierry Reding , Jonathan Hunter , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven References: <1523364701-15383-1-git-send-email-geert+renesas@glider.be> <1523364701-15383-2-git-send-email-geert+renesas@glider.be> Message-ID: <152389470206.51482.14969985575347056688@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v2 1/5] clk: Extract OF clock helpers in Date: Mon, 16 Apr 2018 09:05:02 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Geert Uytterhoeven (2018-04-10 05:51:37) > The use of of_clk_get_parent_{count,name}() and of_clk_init() is not > limited to clock providers. > > Hence move these helpers into their own header file, so callers that are > not clock providers no longer have to include . > > Suggested-by: Stephen Boyd > Signed-off-by: Geert Uytterhoeven > --- > v2: > - New. > > I have't added an SPDX-License-Identifier line, as > also doesn't have one yet. > > Other candidates to be moved here later? > - of_clk_get(), > - of_clk_get_by_name(), > - of_clk_get_from_provider(). The clk_get APIs should stay in the consumer header file (clk.h) because they're consumer APIs. Sure they have "of" in the name, but whatever.