From patchwork Mon Apr 17 17:44:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 84381 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2309467vqo; Mon, 17 Apr 2023 11:07:12 -0700 (PDT) X-Google-Smtp-Source: AKy350aC6HMaTU/Q4LhpuXOLoCYYzeB41PTxNW47/Fza6HhglWpNwnYzK+5zkkBw67oVeTai6A8k X-Received: by 2002:a17:903:2111:b0:1a6:4606:6e06 with SMTP id o17-20020a170903211100b001a646066e06mr9994562ple.17.1681754832387; Mon, 17 Apr 2023 11:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681754832; cv=none; d=google.com; s=arc-20160816; b=kCXURxk4qf8kkj8ZGhLmr+/4rThTdBK/vz2PgETjikzUGhZAdAp8rCaReVJWFPcgk/ CXoyeNfdseoAcWN1AHYbzP+zq8NpztcimYQqCSYwiwpWKM3JJttPi5GflBFxpUrP8aYt SwHDoPMoADh9mWByxd0woM+lPOBEaQhhT/iXGZnWRHSrEZaz1QLT35/PDRDp40lif4oi eZTgYpLORHTNwWNfRh8lILcAyBUcr2yHwYmnD1TRXEua6E1jrO0x5yleJD2Ws0Lgaj+k XWI3usaYCoCCBHnkMndHrwQedINmwXqQNqYHw386ZUMth7q7AGEXrZ1xSeL2lfMvgCu3 TnIg== 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=2wl07vQ1AO+kNIizqaeliSseA8G5rkqNQsDitaTpZIc=; b=ALqbba2tLD0lYtkAcox4qtLCb48bmHwAOupMst17VeeoATxYIsDdix2fNiN2HyKEBR 061X1MRnEZn/ranFe4zdS4louBDVTuHKxOYql2F1UMPZj6ktOhCHoJniv8FMbntOl8Jx ykYHlqYqBrAufuBIQH6RihXvo1egHREg6oEYHXaXARrMH6hoE9DuySfc1Yi7oIl7StBG uF5L+2wxTvLtkgemZaNefRO/JBvA2yPfeJ6G+L60PaSAM4GjNQ8oKInE+9TTAukSVym7 zJ0IVk+E6RDC++1dswWYxfVAYWJUPlyGZewxI8Mzi5j9rfgj5Jzvq7FjVGrSAE2SPB8l gxBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EEPaJN4z; 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 j5-20020a170903024500b001a199eaf57csi13086215plh.404.2023.04.17.11.06.57; Mon, 17 Apr 2023 11:07:12 -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=20221208 header.b=EEPaJN4z; 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 S230317AbjDQRol (ORCPT + 99 others); Mon, 17 Apr 2023 13:44:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbjDQRok (ORCPT ); Mon, 17 Apr 2023 13:44:40 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD936B47B; Mon, 17 Apr 2023 10:44:27 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3f0a0c4e1ebso17646445e9.3; Mon, 17 Apr 2023 10:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681753466; x=1684345466; 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=2wl07vQ1AO+kNIizqaeliSseA8G5rkqNQsDitaTpZIc=; b=EEPaJN4zXOu38z1Cjv04aHBn/69AnpIvlOb/yelRxwWeryHfC6PWx3JXAqEADozrB9 K44VBCPrdgpKlRm+gX8PBY5A89GXbc7VHcsyidPHE7NxGLDBTb74Ww+k/VsU8A/3xrxI Az8Yv/aQVfCWGByh6LWhTWeqmzWqZXOHNgU/eWFaJ3b4vraVMkmDIQmf+6PjkvM0mCdU Ce/407+2oE4KsCEUWG7xf1ep3U+i4hzRpNkvr3oInXFtvrGh+ocdzni0WtxIUu9hxhxc RMeaxxcCoqlRQrPjYv1r4vCsmDYwJVMjcrKW2tXHqOZzAPM5ksv3Kp3ekj/sfYGRWWs2 dVpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681753466; x=1684345466; 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=2wl07vQ1AO+kNIizqaeliSseA8G5rkqNQsDitaTpZIc=; b=KaU/RJYwkB4YMEEmNv/9h9N90LiExgKtLFLCBiJmy0v149NFQECRItOWBA5mKnGzRg QbtVyipKb4YhwXx9Zawh8PG7RmlR3tP87NvV8HGe/dqxM86+E07eFXpbwza8Asml9Ssj aEtXKfSa2MlI4mpbbZQ7Gc5PVIVIPuJk8ppnEby34ccAgVUfZCJo9TbqQNlhvUN68Iy/ YFNQW1vMFVmJCQHVumMyB1zdXzIgzjGDxdPTHNCE3cMc8bJtlhXqQWZg8eplLyuW5p5o 9HV9ekg1zoIbj3yl06XUvJn2Tx6PBDOpviYhgG0TKKS0CVg6ZZ0tU2g97uDD5sD4r1kq wICw== X-Gm-Message-State: AAQBX9eKqjCbqjE84bN4gx7j0O9SbbhwicAPpNkEFlO18KFdxRovPm1o KtqkIjrAbENnBFJzPaMov/s= X-Received: by 2002:adf:f1ce:0:b0:2f5:a412:dabe with SMTP id z14-20020adff1ce000000b002f5a412dabemr6818264wro.3.1681753466280; Mon, 17 Apr 2023 10:44:26 -0700 (PDT) Received: from localhost.localdomain (host-87-7-13-196.retail.telecomitalia.it. [87.7.13.196]) by smtp.googlemail.com with ESMTPSA id f24-20020a7bcd18000000b003f09a9151c1sm12516155wmj.30.2023.04.17.10.44.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 10:44:25 -0700 (PDT) From: Christian Marangi To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Marangi Subject: [PATCH 2/2] clk: qcom: gcc-sdm660: drop redundant F define Date: Mon, 17 Apr 2023 19:44:08 +0200 Message-Id: <20230417174408.23722-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230417174408.23722-1-ansuelsmth@gmail.com> References: <20230417174408.23722-1-ansuelsmth@gmail.com> MIME-Version: 1.0 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,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763447663748086671?= X-GMAIL-MSGID: =?utf-8?q?1763447754791392211?= 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 --- 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,