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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0A0DC433EF for ; Thu, 3 Feb 2022 09:51:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350004AbiBCJva (ORCPT ); Thu, 3 Feb 2022 04:51:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349947AbiBCJvV (ORCPT ); Thu, 3 Feb 2022 04:51:21 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DBEEC061744; Thu, 3 Feb 2022 01:51:19 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id 047F81F45310 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1643881878; bh=8BA8FbyMXCVWi9MgGTGjuCY6gVmGgcfHC25Y0eM01Z0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FsTzSneQrqvQeV4J11obzePF8SRKsS5pmNFQdXp7DVoxoTWMz0Y0C1snQXNQk3SIx sftfKT7mkLmyVEWRUAC0HN6fssKFQz1Rfo1yNj6pPAx83f33/2+IjjMzROJ7d1AlGk 6DzAqpgIcq4kDOAwzO4pzYylIENjovSamQyf+/DRSjr7UrMOvP6oaJrYo9J25AUUML vjGSnFJ+T8ffFBT1US5EZ0QZOFjhad/z+7qkH/OQWUvlUScksZ6T/PGDs597SuyCg5 Og+Y8mMLF4eS+DEp1TtqERIwEWFk1gqJFbMBYfKQJHHP3S7OxGjOoVs5YUOQdG/9wF xVybjj+bCKh2A== Message-ID: <45e0ff88-c2bb-b546-9290-db9ff4c978d6@collabora.com> Date: Thu, 3 Feb 2022 10:51:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v2 02/31] clk: mediatek: gate: Consolidate gate type clk related code Content-Language: en-US To: Chen-Yu Tsai , Stephen Boyd , Michael Turquette , Matthias Brugger Cc: Chun-Jie Chen , Miles Chen , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220202134834.690675-1-wenst@chromium.org> <20220202134834.690675-3-wenst@chromium.org> From: AngeloGioacchino Del Regno In-Reply-To: <20220202134834.690675-3-wenst@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 02/02/22 14:48, Chen-Yu Tsai ha scritto: > 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