Message ID | 20221103134944.23275-3-ansuelsmth@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp544370wru; Thu, 3 Nov 2022 06:53:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM42EG5Sm2+GrwuQ/xHUr4rrYgKWTPVI5rKthNg4OydvoKcLnsgHBQixWWf7SbEu522duqEh X-Received: by 2002:a17:906:8a7c:b0:7ad:ad3a:b206 with SMTP id hy28-20020a1709068a7c00b007adad3ab206mr28638226ejc.345.1667483603133; Thu, 03 Nov 2022 06:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667483603; cv=none; d=google.com; s=arc-20160816; b=QMZsRY1CIRmRWDSfO0CcnObI7uhhYk40kJB/8Ipu23koZNC22sAIb5BLeK3Pt/xT3j M1wmisjdL4wf6BB6WW8BLr9HM6i5pYDzWZSokBLYtRCPsNXHsIFpy9LnlDsaCvW7p0pn 6px7wyEkudn17fyVzO68upCPqxCVBFQus/2qjRZuRCwss5Mbp1/AAiGn2vhUxDj9V1yR ZwxHOVpWC0LRK0/l3sB/PJBfZ77IBpuOofDsO2xnP4D6/Ceh+jLa+7UBYH6WGu/nN7Hq qi9puUsVCZrmG2VpyFqPJG0WphFzWobWKH6T5DT1FsrfMqyzXTBo1DmL3QWjVAE6ktgT uEEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=THbX1EhgVaNh83+sx5ydTUKPbkRpoGl3oIFhFRQm/vs=; b=h/O1tK9B1ZIrpQuQH+lwEGiYW9bq0PBYGXvn+4jEm3YaGnQDJYi+wbzPjA3PPA383O rrHdJYnVUlWPBgIkYlgm8oeBc0DYyXXzafwpLrYG6Jww7yaf8bK5FbWQ6AcD22YkxghY v5sm7+YoLHyENKgUjgsnCmn3mAh7b63Ghu+y15jfxtZrLbj/r7PFqiREyt+8uVQhbTXX OGnHrq1smBU49KU6fd2861Zk1LwJZ6N02bad+b/GM/bDjgyJwAJtWZv7fCLAlthiTt5v f0Dw29RY9zTys97mKzqSbSXrhtt01zdwCfAtIGAOC1ch+DgQWZ/t7sNeivhNOJ0LZzCf RlBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ajsjzDRC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s10-20020a056402520a00b0045d088f4b79si1726819edd.258.2022.11.03.06.52.59; Thu, 03 Nov 2022 06:53:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ajsjzDRC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231143AbiKCNuM (ORCPT <rfc822;yves.mi.zy@gmail.com> + 99 others); Thu, 3 Nov 2022 09:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbiKCNuI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Nov 2022 09:50:08 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91EA595B8; Thu, 3 Nov 2022 06:50:07 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id v1so2837512wrt.11; Thu, 03 Nov 2022 06:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=THbX1EhgVaNh83+sx5ydTUKPbkRpoGl3oIFhFRQm/vs=; b=ajsjzDRCTwC4tLwlV6oQlpoQBt6VGNxiinVyYG876NsWH5cpgnWZSQcX/ZBAxixFSq FiiTWm4D4rVmAW6h9SbBWQhuFZmWq5Utq27tZtWj8gEW9ktcf6i64kdMnDHz+0Gjrgs6 pkjLe0hF+XqcBKTD/s614z5Pl+DMH5sE1W9MFqj1IiufRizNXIp+UeLrJzvZ5i2qY6Nk 4DTpePodRvS/BoAFNaUmF5EnDdeQdSHZej2wzQiEUta+U4+m2V4l7wi+BzPtyuj9Dx9V EKMUz/R11LZcS8AbL3TnR3P0yA7r6ATvpKd0NkIoe16lD+CIRiHCQ1puy2mFj91sJ0de Coig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=THbX1EhgVaNh83+sx5ydTUKPbkRpoGl3oIFhFRQm/vs=; b=UdRGLJsQKE9Y6JmT131C4nrkmmbWrrePgayk5Xl5XRtDCjGloETAdFsO5cBSjfBwn5 ZgCVJ6lOeDMsLFjyUb1+bxBZ0zZPGjgaqEgc9gCNNQ4aVh3AZHZq5OTBJMvyFDe0caBw maPrBZbux7vZDMH3dr/k6udMrq3PGJO7YPPBysQPuLoIN1rpSHWuga73l+dWyta727z9 v/8sDRWJWlIEy0UZDCVnef0DK6voKKoBBB8pK8lqasqCrZuhJ4dCPiNVEkLp0P2vBQJr P8RmgzEKGuS+I382QMdd+l90SjmKmhj0pCTKZjv8X3tBurkQDkscQ6rHOF9iwy1Y1qdv Yw7g== X-Gm-Message-State: ACrzQf0TsayYXCioglKHdq+oKSa/CiDqHboDqAsakM4R/PYCrqDO9NHm 07P31VufhnPV0h/lAi0oVF/6mtP+nlo= X-Received: by 2002:a5d:65cf:0:b0:236:9119:be3 with SMTP id e15-20020a5d65cf000000b0023691190be3mr18412969wrw.602.1667483405892; Thu, 03 Nov 2022 06:50:05 -0700 (PDT) Received: from localhost.localdomain (93-42-71-18.ip85.fastwebnet.it. [93.42.71.18]) by smtp.googlemail.com with ESMTPSA id bt12-20020a056000080c00b00236576c8eddsm957414wrb.12.2022.11.03.06.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 06:50:05 -0700 (PDT) From: Christian Marangi <ansuelsmth@gmail.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Marangi <ansuelsmth@gmail.com> Subject: [PATCH v2 2/4] clk: qcom: gcc-sdm660: drop redundant F define Date: Thu, 3 Nov 2022 14:49:42 +0100 Message-Id: <20221103134944.23275-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221103134944.23275-1-ansuelsmth@gmail.com> References: <20221103134944.23275-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748483286910073230?= X-GMAIL-MSGID: =?utf-8?q?1748483286910073230?= |
Series |
clk: qcom: clk-rcg2: introduce support for multiple conf for same freq
|
|
Commit Message
Christian Marangi
Nov. 3, 2022, 1:49 p.m. UTC
The same exact F frequency table entry is defined in clk-rcg.h
Drop the redundant define to cleanup code.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
drivers/clk/qcom/gcc-sdm660.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/clk/qcom/gcc-sdm660.c b/drivers/clk/qcom/gcc-sdm660.c index db918c92a522..6afce8e42ede 100644 --- a/drivers/clk/qcom/gcc-sdm660.c +++ b/drivers/clk/qcom/gcc-sdm660.c @@ -25,8 +25,6 @@ #include "reset.h" #include "gdsc.h" -#define F(f, s, h, m, n) { (f), (s), (2 * (h) - 1), (m), (n) } - enum { P_XO, P_SLEEP_CLK,