Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2259017rdb; Thu, 21 Sep 2023 13:10:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIztF6avB111z+hIAGxtnq3clVAo76Pk++K55H1y+H7xx0yD9wYmiBzWY3y6n/PqvnUTyR X-Received: by 2002:a05:6a20:7348:b0:157:978c:5b74 with SMTP id v8-20020a056a20734800b00157978c5b74mr7355074pzc.0.1695326999604; Thu, 21 Sep 2023 13:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695326999; cv=none; d=google.com; s=arc-20160816; b=XnCTy5sPRwFYNguNKuK2mpjAB5mN2SGp9tHJbVlvyIWfE1dn8uHAotwn5qD4OSRiN+ 3lZnian6O2Oinqu3/zqD1v23VGpJLBYybMCWH1nRFCdNQSr1yZhmtb/Do3jfnkJIF4GK DADXMwbF4Xuv0+aq8PdPfKMFYmqQ8qvWB4yWPwwzMNvdsu8EbhuSy1EyqSzSson7Mb4F aeSwsj5AvB6QzZl/qLUJZQIkJjsn2tFoZ+xLhhS28xfwFHu3Cra10rPEXd9ub6rU9hjr NMnuibRQsT6sSsifMo0QmgEAzgeTgyylh7d5kukbs2N4BVB8y06dwWg5hD8GhqHiFP9Y dVoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=n+yVgQHEkBpVvMdurx8f+1qLTmBV6KIJ6x015DC/3DE=; fh=x9z3eHC09FP7NLvG1F0aPIkJO5/fMUJcTCUwVMhuioM=; b=rVGBfoiOK+YTPWvrZdjn+dPb1OU4eFPprjARTaxow3VbAebOrGEYdoW51NeS75eH/m QPjpvRdqTlr0s5pi9hYdG6pnQku3CB5Q1fz83y4IUQQAJaIt1lsRKmMJX0VOQN/b03Dy xfZ7y9BX8nezgotYN5MchYC1BXOA/912sfx80IByYkq2K7tr9IYWaEDw91Niu3ehUIOy o3oWIDMDLVwehNc0mngZKeW3d3KGUGmNKavtYAVvHXfLjR9HLUPJ1QJGVjOYoyf47UBp jk9cPhcuVMxWK0f1NnxUpuuHX1CFG2V/KnxCvfZE9yq2/J+uuY7ZrD7xGi5995X+cq68 N4dw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id r1-20020a170903410100b001c5c344a425si2008782pld.418.2023.09.21.13.09.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 13:09:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6900C83D6DD2; Thu, 21 Sep 2023 12:59:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231192AbjIUT6y (ORCPT + 99 others); Thu, 21 Sep 2023 15:58:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjIUT6f (ORCPT ); Thu, 21 Sep 2023 15:58:35 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20E0346DC2; Thu, 21 Sep 2023 10:13:56 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A79BB15BF; Thu, 21 Sep 2023 04:15:07 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0599D3F5A1; Thu, 21 Sep 2023 04:14:28 -0700 (PDT) Date: Thu, 21 Sep 2023 12:14:26 +0100 From: Sudeep Holla To: Ulf Hansson Cc: Cristian Marussi , Sudeep Holla , Viresh Kumar , Nishanth Menon , Stephen Boyd , Nikunj Kela , Prasad Sodagudi , Alexandre Torgue , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 07/13] cpufreq: scmi: Drop redundant ifdef in scmi_cpufreq_probe() Message-ID: <20230921111426.b2vp5hu7ssdtmz3n@bogus> References: <20230825112633.236607-1-ulf.hansson@linaro.org> <20230825112633.236607-8-ulf.hansson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230825112633.236607-8-ulf.hansson@linaro.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 21 Sep 2023 12:59:03 -0700 (PDT) On Fri, Aug 25, 2023 at 01:26:27PM +0200, Ulf Hansson wrote: > We have stubs for devm_of_clk_add_hw_provider(), so there should be no need > to protect this with the '#ifdef CONFIG_COMMON_CLK'. Let's drop it to clean > up the code a bit. > No exactly. The stub is under !CONFIG_OF but we need it for !CONFIG_COMMON_CLK. The original build issue reported for which I add this was CONFIG_OF=y && CONFIG_COMMON_CLK=n. It looks like it is still valid combo though I don't have a handy randconfig to present to you. I prefer to drop this for now if that is OK with you. -- Regards, Sudeep