Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10619130ybi; Thu, 11 Jul 2019 08:13:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLtaTj0phVxVCuwVA21tXNuWsRh+ZRqS6jDbBdEcish3tmVb2hlHvvT4yGG8lXSFcZ7L7A X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr5050078plb.114.1562858005809; Thu, 11 Jul 2019 08:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562858005; cv=none; d=google.com; s=arc-20160816; b=A8MCrWjrDlLFvKPs8yr553oWUsDU0XuK8TX8OPUr8L6DB666NrTUjd43eucqPwYWxB XBrHEL7ZoJSOZDzm2GDxu46KhMVVQg2+FfreWbjS61Bi4aYpW0CwJJRQmH95Zq3usO9+ I+NmwIVjKO18Oe6b5L+iNWlhWtMG3Jx3FEvlt/ARvE33ez6cdXPdizo1yKzEtQKnOJ6G +z6+B/6FYGyRmtWAfuMcnSPdePsr62VAptwKjwmLUqMllR40bRJtEtIMiUQePjzmmesY WC6ivUpWVOf/ATygrqOqPkE0JCrYslkKrI25ZiNMrK9LJwOLJRkkY4xpFHi8FEeHdINR OFGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=/AjDcQ3humtFcoY/1GThCtp5cZFj8xTRwvHIgJkupGY=; b=xen9cSYr5VVdWLvfAVnmcLFKKOcPh5sHOm20JGRENQxslVX3AQGCHRnKaRYXlRkzkk c6YvRSwxYVrMEIaoupmQ/gaXUiVNm3zZWQARNaAkugW+acgHhbMo5ey9iwxJ16zJWFPn sAKAzkGM2K5DSwrgbRkNAMPV5KYevB3IOOQGthFeNb8F1ztXoWjRlJM13bpErOSRBp0u l81I82G3aVNmfk9WFtAbJmTJEVoiWNrr4TUIgOD1siu29RyluqWEAWJ84mjUoDNCYvwF JVgjeoyvJWgXjV6c/1iy6VvzRRxCA76ZSaQcZFud4y9pnM0FxJJzLIbfW5Hea0WxsPNw HLLg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k190si5515256pge.308.2019.07.11.08.12.50; Thu, 11 Jul 2019 08:13:25 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728797AbfGKPMM (ORCPT + 99 others); Thu, 11 Jul 2019 11:12:12 -0400 Received: from inva020.nxp.com ([92.121.34.13]:44696 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726016AbfGKPMM (ORCPT ); Thu, 11 Jul 2019 11:12:12 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 237121A09EA; Thu, 11 Jul 2019 17:12:09 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 167A21A00DD; Thu, 11 Jul 2019 17:12:09 +0200 (CEST) Received: from fsr-ub1664-175.ea.freescale.net (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 8B39D205E4; Thu, 11 Jul 2019 17:12:08 +0200 (CEST) From: Abel Vesa To: Mike Turquette , Stephen Boyd , Shawn Guo Cc: Fabio Estevam , Dong Aisheng , Pengutronix Kernel Team , NXP Linux Team , linux-clk@vger.kernel.org, Jacky Bai , linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , Abel Vesa Subject: [PATCH] clk: imx: Remove unused clk based API Date: Thu, 11 Jul 2019 18:11:50 +0300 Message-Id: <1562857910-29501-1-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that the i.MX6 and i.MX7 clock drivers have been switched to clk_hw based, we can remove the clk based API that is not used by any i.MX clock driver. The following APIs are going away now: - imx_clk_busy_divider - imx_clk_busy_mux - imx_clk_fixup_divider - imx_clk_fixup_mux - imx_clk_mux_ldb - imx_clk_gate_dis_flags - imx_clk_gate_flags Signed-off-by: Abel Vesa --- drivers/clk/imx/clk.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h index d94d9cb..592eca1 100644 --- a/drivers/clk/imx/clk.h +++ b/drivers/clk/imx/clk.h @@ -50,12 +50,6 @@ struct imx_pll14xx_clk { int flags; }; -#define imx_clk_busy_divider(name, parent_name, reg, shift, width, busy_reg, busy_shift) \ - imx_clk_hw_busy_divider(name, parent_name, reg, shift, width, busy_reg, busy_shift)->clk - -#define imx_clk_busy_mux(name, reg, shift, width, busy_reg, busy_shift, parent_names, num_parents) \ - imx_clk_hw_busy_mux(name, reg, shift, width, busy_reg, busy_shift, parent_names, num_parents)->clk - #define imx_clk_cpu(name, parent_name, div, mux, pll, step) \ imx_clk_hw_cpu(name, parent_name, div, mux, pll, step)->clk @@ -73,15 +67,6 @@ struct imx_pll14xx_clk { #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ imx_clk_hw_gate_exclusive(name, parent, reg, shift, exclusive_mask)->clk -#define imx_clk_fixup_divider(name, parent, reg, shift, width, fixup) \ - imx_clk_hw_fixup_divider(name, parent, reg, shift, width, fixup)->clk - -#define imx_clk_fixup_mux(name, reg, shift, width, parents, num_parents, fixup) \ - imx_clk_hw_fixup_mux(name, reg, shift, width, parents, num_parents, fixup)->clk - -#define imx_clk_mux_ldb(name, reg, shift, width, parents, num_parents) \ - imx_clk_hw_mux_ldb(name, reg, shift, width, parents, num_parents)->clk - #define imx_clk_fixed_factor(name, parent, mult, div) \ imx_clk_hw_fixed_factor(name, parent, mult, div)->clk @@ -91,21 +76,12 @@ struct imx_pll14xx_clk { #define imx_clk_gate_dis(name, parent, reg, shift) \ imx_clk_hw_gate_dis(name, parent, reg, shift)->clk -#define imx_clk_gate_dis_flags(name, parent, reg, shift, flags) \ - imx_clk_hw_gate_dis_flags(name, parent, reg, shift, flags)->clk - -#define imx_clk_gate_flags(name, parent, reg, shift, flags) \ - imx_clk_hw_gate_flags(name, parent, reg, shift, flags)->clk - #define imx_clk_gate2(name, parent, reg, shift) \ imx_clk_hw_gate2(name, parent, reg, shift)->clk #define imx_clk_gate2_flags(name, parent, reg, shift, flags) \ imx_clk_hw_gate2_flags(name, parent, reg, shift, flags)->clk -#define imx_clk_gate2_shared(name, parent, reg, shift, share_count) \ - imx_clk_hw_gate2_shared(name, parent, reg, shift, share_count)->clk - #define imx_clk_gate2_shared2(name, parent, reg, shift, share_count) \ imx_clk_hw_gate2_shared2(name, parent, reg, shift, share_count)->clk -- 2.7.4