Received: by 10.192.165.156 with SMTP id m28csp1150478imm; Fri, 13 Apr 2018 14:18:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+STrE75Q8rWzP1lrKb/daAdt7nROCoT56rXKYiENXHD+2euFWcVZKiuQyUlHDaWI3IWCAe X-Received: by 10.99.63.1 with SMTP id m1mr4662389pga.196.1523654294494; Fri, 13 Apr 2018 14:18:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523654294; cv=none; d=google.com; s=arc-20160816; b=JOPBVNlX607Qs0kqnj3U2+7sMZM2+wVOJ6OE4gLfOvX4xuNbH90XvZ56h6hq1yweyT 1gcl7J2zSRuMiyLuwHlds9dwUaHzKPRYqDtAM48A3Bjvn2CY//DnU2stzsVuI/eRygi1 UMYvmm1XDU78Nf/1kNkm9+TQBr33sOlJgx2STNeizFIgik4Eij6LdclDOyBuQuPBrzvD svpNggYKIq7uyEd0qDrsz/eE4TD+Dfcl7TCXNX8+YWQt7viJ/dFR9Rv+MVPtP7AppyaF 8/54Q0bzLW/jEPD0GNVcJuNArdAidwlPwUOMWSVjCnjSvuZuRSWisx9OXHxava8ZPfEU MBow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/aAnLZ2oBh+vgoqn+Esq2GWvvHI0RSAKk+2ySVssjnU=; b=vz0+eAvBhSQ/BpO2lpDctGrDLFuW9+V7ntw6GxoI00P+OE5kj/yL8cYvN1kTSPDwB7 +cpvYTbTFaQZK25RNpZ0wDkApxevxsFaWlGPeAsIfLGEynaU2eu7CKIl8qMWzIzNMP3d 87MS1s3NgGK0PKFFx2eogQ7q0epQaNmaF8hGqalgCRv5XvKfNEEofa1w6oprNfJOAEIr hVclUhGlpBdObjiIFHIttz7wMHuRTAmUsdyz1ER5ITM3UqBzKE3DSCAc1MuAkx88/h3v DYbqly4wk6QCjZc3zSFveAGGOORR3xOEJGTO5PRL1vPIo40JSZNa7naAIW86zzPC7+Hr fA0A== 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 h6-v6si6420658pln.61.2018.04.13.14.18.00; Fri, 13 Apr 2018 14:18:14 -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 S1752081AbeDMVQt (ORCPT + 99 others); Fri, 13 Apr 2018 17:16:49 -0400 Received: from mail-ot0-f195.google.com ([74.125.82.195]:45927 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751953AbeDMVQq (ORCPT ); Fri, 13 Apr 2018 17:16:46 -0400 Received: by mail-ot0-f195.google.com with SMTP id w2-v6so408228otj.12; Fri, 13 Apr 2018 14:16:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/aAnLZ2oBh+vgoqn+Esq2GWvvHI0RSAKk+2ySVssjnU=; b=FGXiRrnvIQEDMZh00709p8BqUKFb8OQSbPQl5H/3FnrovFX/Xv43csnX/sJ0P5OUMM UdERXx2QAprqDj+GOUVJ68KLBlfunaEGcvxugbUhJviKKJpAOJpBKGgs6C7WB95qA1e4 jZLSYQiyvOtFrpgUxm8Qsi2KRf1Q2FFTPkeg+vCYUekXDRa3i98OL/MkkIKed7qfycpB XX3UmQqCC5aQrvuYSfKDimXQdJ5L6GPF5N2N/wkOX5mNzK0qF+L0hR6DfO85wa9rqhmq ktwUSiGG0lPADBeVoOjbavtiSmtDtl8l3LMTzLV9mI9lqFE5gp/E6qX+0JbZkTvMPn5V GaIg== X-Gm-Message-State: ALQs6tBkDplfxWAH3P5ugYP1AGw1ZZD3sQL/StqMipOFdh6lCkwyGmrR QmlBnPgM+wFM5a+ZDcmcRg== X-Received: by 2002:a9d:5e09:: with SMTP id d9-v6mr4845820oti.235.1523654205447; Fri, 13 Apr 2018 14:16:45 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id b45-v6sm4642141otb.1.2018.04.13.14.16.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Apr 2018 14:16:44 -0700 (PDT) Date: Fri, 13 Apr 2018 16:16:44 -0500 From: Rob Herring To: Geert Uytterhoeven Cc: Michael Turquette , Stephen Boyd , 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 Subject: Re: [PATCH v2 1/5] clk: Extract OF clock helpers in Message-ID: <20180413211644.wd7lrl4phqtshpzp@rob-hp-laptop> References: <1523364701-15383-1-git-send-email-geert+renesas@glider.be> <1523364701-15383-2-git-send-email-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1523364701-15383-2-git-send-email-geert+renesas@glider.be> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 10, 2018 at 02:51:37PM +0200, Geert Uytterhoeven wrote: > 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. Should that matter? > > Other candidates to be moved here later? > - of_clk_get(), > - of_clk_get_by_name(), > - of_clk_get_from_provider(). > --- > include/linux/clk-provider.h | 14 +------------- > include/linux/of_clk.h | 29 +++++++++++++++++++++++++++++ Please update MAINTAINERS so I am not the maintainer. :) > 2 files changed, 30 insertions(+), 13 deletions(-) > create mode 100644 include/linux/of_clk.h