ARM: OMAP4+: clock: remove DEFINE_CLK_OMAP_HSDIVIDER macro

This change “ARM: OMAP4+: clock: remove DEFINE_CLK_OMAP_HSDIVIDER macro” (commit 0b6fbd6) in Linux kernel is authored by Tero Kristo <t-kristo [at] ti.com> on Wed Jul 2 11:47:36 2014 +0300.

Description of "ARM: OMAP4+: clock: remove DEFINE_CLK_OMAP_HSDIVIDER macro"

The change “ARM: OMAP4+: clock: remove DEFINE_CLK_OMAP_HSDIVIDER macro” introduces changes as follows.

ARM: OMAP4+: clock: remove DEFINE_CLK_OMAP_HSDIVIDER macro

This clock type declaration is no longer used as all omap4+ SoC clock
data has been moved to DT, thus remove it.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>

Linux kernel releases containing commit 0b6fbd6

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "ARM: OMAP4+: clock: remove DEFINE_CLK_OMAP_HSDIVIDER macro"

There are 25 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arm/mach-omap2/clock.h | 25 -------------------------
 1 file changed, 25 deletions(-)
 
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h
index 12f54d428d7c..e29f982ce4dd 100644
--- a/arch/arm/mach-omap2/clock.h
+++ b/arch/arm/mach-omap2/clock.h
@@ -101,31 +101,6 @@ struct clockdomain;
 	};							\
 	DEFINE_STRUCT_CLK(_name, _parent_names, _ops);
 
-#define DEFINE_CLK_OMAP_HSDIVIDER(_name, _parent_name,		\
-				_parent_ptr, _flags,		\
-				_clksel_reg, _clksel_mask)	\
-	static const struct clksel _name##_div[] = {		\
-		{						\
-			.parent = _parent_ptr,			\
-			.rates = div31_1to31_rates		\
-		},						\
-		{ .parent = NULL },				\
-	};							\
-	static struct clk _name;				\
-	static const char *_name##_parent_names[] = {		\
-		_parent_name,					\
-	};							\
-	static struct clk_hw_omap _name##_hw = {		\
-		.hw = {						\
-			.clk = &_name,				\
-		},						\
-		.clksel		= _name##_div,			\
-		.clksel_reg	= _clksel_reg,			\
-		.clksel_mask	= _clksel_mask,			\
-		.ops		= &clkhwops_omap4_dpllmx,	\
-	};							\
-	DEFINE_STRUCT_CLK(_name, _name##_parent_names, omap_hsdivider_ops);
-
 /* struct clksel_rate.flags possibilities */
 #define RATE_IN_242X		(1 << 0)
 #define RATE_IN_243X		(1 << 1)

The commit for this change in Linux stable tree is 0b6fbd6 (patch).

Last modified: 2020/02/10