From patchwork Mon Apr 11 08:18:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 65466 Delivered-To: patch@linaro.org Received: by 10.112.43.237 with SMTP id z13csp1331978lbl; Mon, 11 Apr 2016 01:22:21 -0700 (PDT) X-Received: by 10.98.36.195 with SMTP id k64mr15344895pfk.88.1460362912876; Mon, 11 Apr 2016 01:21:52 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22si2161726pfj.116.2016.04.11.01.21.52; Mon, 11 Apr 2016 01:21:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753867AbcDKIVu (ORCPT + 3 others); Mon, 11 Apr 2016 04:21:50 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:32954 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753492AbcDKIUf (ORCPT ); Mon, 11 Apr 2016 04:20:35 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id u3B8JTB7023576; Mon, 11 Apr 2016 03:19:29 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u3B8JSi8019388; Mon, 11 Apr 2016 03:19:28 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Mon, 11 Apr 2016 03:19:28 -0500 Received: from sokoban.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u3B8JL60024976; Mon, 11 Apr 2016 03:19:26 -0500 From: Tero Kristo To: , , , , CC: , , Subject: [PATCH 02/30] clk: ti: dpll: use ti_clk_get to fetch ref/bypass clocks Date: Mon, 11 Apr 2016 11:18:53 +0300 Message-ID: <1460362761-4842-3-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1460362761-4842-1-git-send-email-t-kristo@ti.com> References: <1460362761-4842-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This allows getting rid of the DT_CLK() aliases under drivers/clk/ti. Signed-off-by: Tero Kristo --- drivers/clk/ti/dpll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/ti/dpll.c b/drivers/clk/ti/dpll.c index 3bc9959..0042fc2 100644 --- a/drivers/clk/ti/dpll.c +++ b/drivers/clk/ti/dpll.c @@ -220,8 +220,8 @@ struct clk *ti_clk_register_dpll(struct ti_clk *setup) if (dpll->num_parents < 2) return ERR_PTR(-EINVAL); - clk_ref = clk_get_sys(NULL, dpll->parents[0]); - clk_bypass = clk_get_sys(NULL, dpll->parents[1]); + clk_ref = ti_clk_get(dpll->parents[0]); + clk_bypass = ti_clk_get(dpll->parents[1]); if (IS_ERR_OR_NULL(clk_ref) || IS_ERR_OR_NULL(clk_bypass)) return ERR_PTR(-EAGAIN);