Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751186AbbEBDMh (ORCPT ); Fri, 1 May 2015 23:12:37 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:14203 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750785AbbEBDMe convert rfc822-to-8bit (ORCPT ); Fri, 1 May 2015 23:12:34 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Fri, 01 May 2015 20:10:54 -0700 From: Jim Lin To: Rhyland Klein , Peter De Schrijver CC: Mike Turquette , Stephen Warren , Stephen Boyd , Thierry Reding , Alexandre Courbot , "linux-clk@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v3 12/20] clk: tegra: pll: Add specialized logic for T210 Thread-Topic: [PATCH v3 12/20] clk: tegra: pll: Add specialized logic for T210 Thread-Index: AQHQhEEHmXbRmYaDqEuY2Ug3iUwsBZ1oAawA Date: Sat, 2 May 2015 03:12:27 +0000 Message-ID: <3e078ce64eff4ac992900523b1b67f19@HKMAIL103.nvidia.com> References: <1430506447-29074-1-git-send-email-rklein@nvidia.com> <1430506447-29074-13-git-send-email-rklein@nvidia.com> In-Reply-To: <1430506447-29074-13-git-send-email-rklein@nvidia.com> Accept-Language: zh-TW, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.19.108.114] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 18 > +static void clk_plle_tegra210_is_enabled(struct struct clk_hw *hw) { Returned type is "int" instead of "void". Also one "struct" only for "clk_hw *hw"? > + struct tegra_clk_pll *pll = to_clk_pll(hw); > + u32 val; > + > + val = pll_readl_base(pll); > + > + return val & PLLE_BASE_ENABLE ? 1 : 0; } > + --nvpublic -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/