From patchwork Thu Apr 14 11:07:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 65784 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp529477qge; Thu, 14 Apr 2016 04:08:51 -0700 (PDT) X-Received: by 10.98.67.67 with SMTP id q64mr20377823pfa.44.1460632131711; Thu, 14 Apr 2016 04:08:51 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b5si7243168pat.133.2016.04.14.04.08.51; Thu, 14 Apr 2016 04:08:51 -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 S1754861AbcDNLIp (ORCPT + 3 others); Thu, 14 Apr 2016 07:08:45 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:54341 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737AbcDNLIm (ORCPT ); Thu, 14 Apr 2016 07:08:42 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id u3EB8DRF014273; Thu, 14 Apr 2016 06:08:13 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u3EB8DkO002258; Thu, 14 Apr 2016 06:08:13 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Thu, 14 Apr 2016 06:08:13 -0500 Received: from sokoban.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u3EB86JC005701; Thu, 14 Apr 2016 06:08:11 -0500 From: Tero Kristo To: , , , , CC: , , Subject: [PATCHv2 02/28] clk: ti: dpll: use ti_clk_get to fetch ref/bypass clocks Date: Thu, 14 Apr 2016 14:07:51 +0300 Message-ID: <1460632097-25727-3-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1460632097-25727-1-git-send-email-t-kristo@ti.com> References: <1460632097-25727-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);