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 CBA95C433EF for ; Wed, 16 Mar 2022 00:02:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352735AbiCPAD7 (ORCPT ); Tue, 15 Mar 2022 20:03:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352717AbiCPAD4 (ORCPT ); Tue, 15 Mar 2022 20:03:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5E305DE4F; Tue, 15 Mar 2022 17:02:42 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 723E96149A; Wed, 16 Mar 2022 00:02:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7C86C340E8; Wed, 16 Mar 2022 00:02:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647388961; bh=gSjwqWfs0xHAYr2djQjQy7OqRlnUPhxMCbMqx3FoaNo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=tRV99RsTh7UBRLm80E74A83E1av840luLqyGcVBIazJDG+QAvwJrmzIOkRn3GVndU dcbiUWNiOMAv2xwvEHVGd427Hm0z9vbzaOEdtP4KgurnRm6UykHbeO6vGx0qAT39YX Mai0EkzClKVJRGExXv3sEp8zY3Pj3S+zOGKxi01T1i/sFIFAprjMBbek7m8M87oLKz Gu7KTw7PNfgIakn3khUNKxEbdHA/Q4UXPk0Dr1MQ5mvp+ySnqfdwLdSFoYHCn+6r/R uyX+Sa2CvMuTSuW8ZRzLm7ZSl9kg7CaitKm+4UiVUZmnZGwkaBu7hDQEZ26accK9ci ExUnIdJ7hUMww== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: Subject: Re: [PATCH v2 5/5] clk: sifive: Move all stuff into SoCs header files from C files From: Stephen Boyd Cc: Zong Li , Palmer Dabbelt To: Zong Li , devicetree@vger.kernel.org, lee.jones@linaro.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, mturquette@baylibre.com, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org Date: Tue, 15 Mar 2022 17:02:40 -0700 User-Agent: alot/0.10 Message-Id: <20220316000241.C7C86C340E8@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Zong Li (2022-03-04 02:03:21) > Improve PRCI driver to reduce the complexity, we remove the SoCs C files > by putting all stuff in each SoCs header files, and include these > SoCs-specific header files in core of PRCI. It can also avoid the W=3D1 > kernel build warnings about variable defined but not used > [-Wunused-const-variable=3D], like commit 487dc7bb6a0c ("clk: sifive: > fu540-prci: Declare static const variable 'prci_clk_fu540' where it's > used") does. >=20 > Signed-off-by: Zong Li > Suggested-by: Lee Jones > Reviewed-by: Lee Jones > Acked-by: Palmer Dabbelt > --- Applied to clk-next