From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 37B5CC433F5 for ; Thu, 17 Feb 2022 20:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pgaydbPqn6jqTpuXUg3ivOSENKuTAg4XIjYqsDdpBeA=; b=ab8oXYRbXVYRcw u35RwFHyYNZcq1y3RkcCdhzG0aV94gUGXiy8NvgjLRsF3Bi0lJJmt8dX0UWwWBSaOGOylOV9h1qhp sYmFAB+ZEMoBpFnHuHgnTHF81hOGKtGctSlRgBkMS2tnXuVujq8KMyb/HvAXbVcLvDwlj/5Rywg5B Zp+4UqGWhLHJwtKb2YXpjPfXAPppUK4slywzneO58j92EkILTFG3ChZjEath9fKzqmH7+HPBFEyvI VNT2noWp5qW1Oi8tXXoGKTVYMHTiRybxZpVUwbSKSPQeLBpsfeFNR0Uz8s8Iqd/jLQR2SKVCgfDOf znJSFSnWNVcnMcDYsMhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKnGj-00C1bb-NG; Thu, 17 Feb 2022 20:20:49 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKnGg-00C1ZY-1j; Thu, 17 Feb 2022 20:20:47 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 40513B821B1; Thu, 17 Feb 2022 20:20:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1D68C340E8; Thu, 17 Feb 2022 20:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645129243; bh=sx8mrhtZybxoA/xwGIindVNL5oiE54Uyr9+FkKocTuA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=dBsuc10E9HHQ0xqa/0XRq9MtCU3Pk9Re+kV/JRIiSXh1y3Png2mNS/DXGUmCx02YG ULVwBZaBf5XhRbjnTVoRlrV6P3Z8IaKnthq4OkrI9/S54Lv8Ky1tIPN1i8DiWYU9pT 2C/nsy8ML3cxCaDm1xrJbuCmKDAJ/ZtjUxEEhIc0q9f8uJzjPi+uuldVIYxJ21qjMx v06fnNvn98nUSEqh2XYwjsB11pS22npKW302AyA1+H/f1Dbv2oqJS+chwKI7AZGXAy ldB8yxRpX5ktnRnZFrxnqVtvWoiCBTdm7zNjGyGJM9hE2uzbgVed0BacVnavlTfuy3 5fLHG12kegJgg== MIME-Version: 1.0 In-Reply-To: <20220208124034.414635-3-wenst@chromium.org> References: <20220208124034.414635-1-wenst@chromium.org> <20220208124034.414635-3-wenst@chromium.org> Subject: Re: [PATCH v3 02/31] clk: mediatek: gate: Consolidate gate type clk related code From: Stephen Boyd Cc: Chen-Yu Tsai , Chun-Jie Chen , AngeloGioacchino Del Regno , Miles Chen , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org To: Chen-Yu Tsai , Matthias Brugger , Michael Turquette Date: Thu, 17 Feb 2022 12:20:41 -0800 User-Agent: alot/0.10 Message-Id: <20220217202042.F1D68C340E8@smtp.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220217_122046_255942_13D85248 X-CRM114-Status: GOOD ( 12.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Chen-Yu Tsai (2022-02-08 04:40:05) > Right now some bits of the gate type clk code are in clk-gate.[ch], but > other bits are in clk-mtk.[ch]. This is different from the cpumux and > mux type clks, for which all of the code are found in the same files. > > Move the functions that register multiple clks from a given list, > mtk_clk_register_gates_with_dev() and mtk_clk_register_gates(), to > clk-gate.[ch] to consolidate all the code for the gate type clks. > > This commit only moves code with minor whitespace fixups to correct > the code style. Further improvements, such as internalizing various > functions and structures will be done in later commits. > > Signed-off-by: Chen-Yu Tsai > Reviewed-by: Miles Chen > Reviewed-by: AngeloGioacchino Del Regno > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel