Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp902345pxp; Wed, 16 Mar 2022 20:42:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW3NgSj/Au94KhIZ/gCqDbfC2EEpFnEk8v1p6BfPagHugRFgx2AM4ib7EIVBfsI/eucj1F X-Received: by 2002:a17:90b:1bc1:b0:1bf:7dc6:bc78 with SMTP id oa1-20020a17090b1bc100b001bf7dc6bc78mr3069111pjb.122.1647488576590; Wed, 16 Mar 2022 20:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647488576; cv=none; d=google.com; s=arc-20160816; b=xvpOymid5NESQJ8S39/9YsOc0iMt1KG6CMRwm1sfnA2ng2gMRoVQt8kERd+gwP/jKi s3ZxrfFM0H5Sc5CX8dNTwB2HjI7QL3HDMaVOsI9J49YbVCG71r9sCUFWU+O9tthlNAGJ wHb+p+p0wqzFc3eLeXMTWv4CyGIapNS1i0ENJxF7wHr513sU1LQ2GvDp75i9fpbcB1OR ytSZjFFdM6xB8effp1XEePGFtOSOrwKxMnWMwXym9me/zXkn+0TuXlCkx2nJarKJs3SC Fj2qYILEyjEg5s2bGE7RktZGdYAgeFBmvAWZoeBnvUpBDaRfeVl0xNGUOWcEEX0i86x0 4A+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=gSjwqWfs0xHAYr2djQjQy7OqRlnUPhxMCbMqx3FoaNo=; b=hvjD9u7ix5VTnCrOYcm71o6fLxbOOoI7D93lF2pyI/Ch1mc3fD84IhaevK/4O0YDkm 2mHB8+xPKXUYdOQVbHfmqBUwodeGTPGRp1RZUuIHBSQSmNwD0ewxLhObgvZwLyZcMvkw MACmrP4oOj6SF0Fb//CTz+AijyDaMMIfwZ6Io2VXS35g9OqoHzEkg0vu+Zy7cJeXDl12 yDAdyPfbxS+NKvPQfMGB5R5yTSAfl6/yJMqeo9MqGDG8/6hYjrPKT+ngNZwP0/bWhHrz QhKmrmnB+98DYWV00p33O6S+DQpozTBeIFcJ4LaomcS2Puwi5xLk3ctEIGusrWCDNIoj xSGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tRV99RsT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b13-20020a056a0002cd00b004f6cc611716si3399861pft.241.2022.03.16.20.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 20:42:56 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tRV99RsT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3AD59694B0; Wed, 16 Mar 2022 20:35:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352722AbiCPAD6 (ORCPT + 99 others); Tue, 15 Mar 2022 20:03:58 -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> X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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