Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3531005pxb; Mon, 24 Jan 2022 11:32:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwt0bf/4Se39pvnqm2zrpU53vY5GTBVFhRCA4QjAYVDnZ6oLcCu9cYrTfCuLEWpkwDu9ljD X-Received: by 2002:a62:800b:0:b0:4c8:fab7:2b02 with SMTP id j11-20020a62800b000000b004c8fab72b02mr6920145pfd.80.1643052727615; Mon, 24 Jan 2022 11:32:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643052727; cv=none; d=google.com; s=arc-20160816; b=TCj3uhykSijQ+SkVVgIB0VeGeYWn14apxDF0NwBPJ5up17luwnr/973yj8SneQFV/E 871b3I9+395y0aYhhGN9+aiPjPe7MRRhN7TLeufVHowcQEx0Lj3sERa35ir2eunwjsYf xxoT5pv8bXTjRnzY/BJSTTUTMmCGwjPoaGhOJ4+UOvfzFMvS7g8tsdhjU6JXY8O7qJiO nq+vrCJyAlIWhJoqxHJXaYljfxqqV7L8lAYwqIaXAGdNnuIRW0BRD/KmxjK5U9UFmbIQ MJ6sRawiE0pOpZNoscVME0zdr4VVn0dTwMtV9MDXWPFMefKt6y7LwzK5u0jEPXaR8Kad bN7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=jA02jI6n8jIbdFZv21Jbu1QN4H0/SOgoofvjdlZof7g=; b=ZvZNF/49VikPt+UNMYj+JDyMQIaUaodcIodgBhfiCj10fnA/8lzGZYj4z4/dj07Rz4 5YAOElOKHsDbjrFdmevoHDCRVQPi/QvDoCmvhzmdK1dEXJfOd31I2Giy5iyzW8olA1hK AlA5sEPFhYvXpQU4bNE/2RQLUIpe2J57a7cT63ISYEuZWVgy712PE2J4PVv5zvSWQjEU h5grbNjlh5mN0MqdXYOAQ6WY4V1dpN/E+W8SPyEGHvqzWb2Y1ppCdZPr1DJDjMt/92/P +kE5GSs6eVvlDki5Sn/kz380FasyJMQxyRr+cPHKGVITF727F8d7AwHWYTzuE5MNVsWD A+BA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si14941028plp.523.2022.01.24.11.31.52; Mon, 24 Jan 2022 11:32:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243401AbiAXQEr (ORCPT + 99 others); Mon, 24 Jan 2022 11:04:47 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:57166 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S243600AbiAXQEp (ORCPT ); Mon, 24 Jan 2022 11:04:45 -0500 X-UUID: 096e2fd673ca47d6876c55c3244089c0-20220125 X-UUID: 096e2fd673ca47d6876c55c3244089c0-20220125 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1048090109; Tue, 25 Jan 2022 00:04:40 +0800 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Tue, 25 Jan 2022 00:04:39 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 Jan 2022 00:04:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 25 Jan 2022 00:04:38 +0800 From: Miles Chen To: CC: , , , , , , , Subject: Re: [PATCH 02/31] clk: mediatek: gate: Consolidate gate type clk related code Date: Tue, 25 Jan 2022 00:04:38 +0800 Message-ID: <20220124160438.17755-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220122091731.283592-3-wenst@chromium.org> References: <20220122091731.283592-3-wenst@chromium.org> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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