From patchwork Tue Oct 1 11:55:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 174847 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp8435466ill; Tue, 1 Oct 2019 04:55:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpWizbgsgOLZ8MAuCKUzcNklEaMMsjL5o7m+fGF0gJp80n53x3zwGWTvZgkILQ0deRztvp X-Received: by 2002:a50:f603:: with SMTP id c3mr24448882edn.208.1569930936453; Tue, 01 Oct 2019 04:55:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569930936; cv=none; d=google.com; s=arc-20160816; b=fvL/UKEzc+e5EOc+M40FtgPzTuhrSA47CNBJyopItLhffX9a+4eFA4W99XTx8mOcCs mUvd9et/oKrKrMS25wiiPNGUmPrTSeGcM7sxEZpii7kHjsrKw3o9noKfh0Uki14OHIml MOFzPUpt5JQlSncJug0W4i4iEZPVypDugcjpkEkOtbPibfbTNxaUD2HCohNmGIAy1unA /ZRcrNgJJBb3RuGgRDhAvOfFAf9qCM4ZQLz/eCGGt/iYjn2L1DEFRk+ZR1m9W+1QOkB/ eEgxjVKgeCLMYt1nrV9cPrOo6xG2rGk1xDZ0MEATjCflThcIGdIb2NMOFqYhj4DilpMZ RUuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vWHRyjfWyVAvZ0d9limuIhAOHFkppMKjucGsUpwzYtI=; b=wPQN4pkqjFoLQoW/gpBGtk9tG135Dpcd1Z5h/VZ7/twRF4HFgb3FtJI9FAKt5LRkSZ CyEYKXwkey3t13nVQ3Uv4iccabHv1xhGSvsUj2oXyUHkAHaADaIQNaeAl6JtgARKbUCi VCVXmjoZ183Ck59pelbZGjLHX7UVYLoak5R1ikJUtb39lS3ScW36OYSsGRLQg9nx8g3W wPM6SBjev9e9oX9dG7Q8bdu+qDMZhxwdlqjww1SclplZmNxr0tsNA3Dnpblmqvp3JYY/ qZDR0N2xmmgOz/x6+2qqLpUTKYfc9ApuKirsmaMv+Ud4vY/9PvHv+Y6ibxoyrxx2gcKH RqhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=grap3Gg+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si8664726ejb.212.2019.10.01.04.55.36; Tue, 01 Oct 2019 04:55:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=grap3Gg+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732842AbfJALzU (ORCPT + 27 others); Tue, 1 Oct 2019 07:55:20 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38764 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732600AbfJALzT (ORCPT ); Tue, 1 Oct 2019 07:55:19 -0400 Received: by mail-wr1-f65.google.com with SMTP id w12so15143411wro.5 for ; Tue, 01 Oct 2019 04:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vWHRyjfWyVAvZ0d9limuIhAOHFkppMKjucGsUpwzYtI=; b=grap3Gg+njPsUDZJvi+5N988zkuIY9UxxiAnU0VRPLMx9Jncik4nhsgWikB914Y81p YMzi2iGLOSGmwKQVRjeJ6zBWv3/Aswn+qpQu4m4WJrjY8rFmHY2VHjH/RXe+QsS2zVLo sUKDy2c/Zixv4brzqxdE9UJgQ8HRJ3PIvUknjLcCh06funyQ8MykRmuAvH2n8fVPN7/i iSmQ95R6Hq0PxY965QoDJoytnlOv6jF2jxJuPCPEpHC9f2bpaSAtUW2YTKOn8OLlGIoh HDCZo7+1c3De/vwmxCRZB/3mQS4OoFugLFf3CMevQ/aX7ZZJDza4ZEZb4Q13lNEoQZpB nAGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vWHRyjfWyVAvZ0d9limuIhAOHFkppMKjucGsUpwzYtI=; b=U7O5qq5wjqOpMyDpHx6gBTxE4SP36vNBBs3Drlm47QSvQw309M/agzdYQSf/7ZfL3S 3YH3nMl+CcVccWWATir/GsMuzpMH1keKByf79fYkWRBIm+mwidBOsUSs5GYjTMCddl38 dinmrY87mlnm7SUOXwnESNFS7v1IIIWzrN9EcffE8Re/Pg2KlGCIGmizP7n2BcNWIE4L 7ioxiZvtouUXnGf1dgJQq5LuuhcUQg5cjTemXDl9WKjJErHQilvucv/UY3K6F/stqttE Ga3SjgjeFC/nB+CisAWZQbbMhiGVTr/FW+/wtLgpVnMBTFmtVW90IGtZQ8WLfyhqoZ5k OnZQ== X-Gm-Message-State: APjAAAU4X4N6oLE7ruVSlPW1oU4Dw5Q7jq+5Bm996aZYkh/nDI+SU8bd uJwzTqZV/KwvakWJG782nbH/sw== X-Received: by 2002:adf:f44e:: with SMTP id f14mr16561465wrp.290.1569930917901; Tue, 01 Oct 2019 04:55:17 -0700 (PDT) Received: from starbuck.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p85sm4052171wme.23.2019.10.01.04.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 04:55:17 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong Cc: Jerome Brunet , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/7] clk: meson: axg-audio: remove useless defines Date: Tue, 1 Oct 2019 13:55:06 +0200 Message-Id: <20191001115511.17357-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191001115511.17357-1-jbrunet@baylibre.com> References: <20191001115511.17357-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Defining the number of each input type is no longer necessary since we are not using the clk-input hack anymore Fixes: 282420eed23f ("clk: meson: axg-audio: migrate to the new parent description method") Acked-by: Neil Armstrong Signed-off-by: Jerome Brunet --- drivers/clk/meson/axg-audio.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.21.0 diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c index 18b23cdf679c..60ac71856e5e 100644 --- a/drivers/clk/meson/axg-audio.c +++ b/drivers/clk/meson/axg-audio.c @@ -20,10 +20,6 @@ #include "clk-phase.h" #include "sclk-div.h" -#define AUD_MST_IN_COUNT 8 -#define AUD_SLV_SCLK_COUNT 10 -#define AUD_SLV_LRCLK_COUNT 10 - #define AUD_GATE(_name, _reg, _bit, _phws, _iflags) \ struct clk_regmap aud_##_name = { \ .data = &(struct clk_regmap_gate_data){ \