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: 13214416 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 A3FD4C77B76 for ; Mon, 17 Apr 2023 17:44:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbjDQRok (ORCPT ); Mon, 17 Apr 2023 13:44:40 -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-Google-Smtp-Source: AKy350axYaI3RgrUewJe+zqYDBluieZHARACOP6EU768NYQ7be2hn1b8turA8sReyvN3WU2DIgIW/A== 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 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org 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 Reviewed-by: Konrad Dybcio --- 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,