linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] drivers: clk: unexport clk_register_gpio_gate()
@ 2019-11-28 14:44 Enrico Weigelt, metux IT consult
  2019-11-28 14:44 ` [PATCH 2/7] drivers: clk: unexport clk_hw_register_gpio_gate() Enrico Weigelt, metux IT consult
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-11-28 14:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: mturquette, sboyd, linux-clk

The function clk_register_gpio_gate() doesn't seem to have any users
outside clk-gpio.c, thus unexport and make it static.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
---
 drivers/clk/clk-gpio.c       | 3 +--
 include/linux/clk-provider.h | 3 ---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c
index 9d930edd6516..f9f81a31984a 100644
--- a/drivers/clk/clk-gpio.c
+++ b/drivers/clk/clk-gpio.c
@@ -186,7 +186,7 @@ struct clk_hw *clk_hw_register_gpio_gate(struct device *dev, const char *name,
 }
 EXPORT_SYMBOL_GPL(clk_hw_register_gpio_gate);
 
-struct clk *clk_register_gpio_gate(struct device *dev, const char *name,
+static struct clk *clk_register_gpio_gate(struct device *dev, const char *name,
 		const char *parent_name, struct gpio_desc *gpiod,
 		unsigned long flags)
 {
@@ -197,7 +197,6 @@ struct clk *clk_register_gpio_gate(struct device *dev, const char *name,
 		return ERR_CAST(hw);
 	return hw->clk;
 }
-EXPORT_SYMBOL_GPL(clk_register_gpio_gate);
 
 /**
  * clk_hw_register_gpio_mux - register a gpio clock mux with the clock framework
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 2fdfe8061363..d283f9896e86 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -773,9 +773,6 @@ struct clk_gpio {
 #define to_clk_gpio(_hw) container_of(_hw, struct clk_gpio, hw)
 
 extern const struct clk_ops clk_gpio_gate_ops;
-struct clk *clk_register_gpio_gate(struct device *dev, const char *name,
-		const char *parent_name, struct gpio_desc *gpiod,
-		unsigned long flags);
 struct clk_hw *clk_hw_register_gpio_gate(struct device *dev, const char *name,
 		const char *parent_name, struct gpio_desc *gpiod,
 		unsigned long flags);
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-01-05 20:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28 14:44 [PATCH 1/7] drivers: clk: unexport clk_register_gpio_gate() Enrico Weigelt, metux IT consult
2019-11-28 14:44 ` [PATCH 2/7] drivers: clk: unexport clk_hw_register_gpio_gate() Enrico Weigelt, metux IT consult
2019-11-28 14:44 ` [PATCH 3/7] include: linux: clk-provider: remove obsolete clk_hw_unregister_gpio_gate() Enrico Weigelt, metux IT consult
2019-11-28 14:44 ` [PATCH 4/7] drivers: clk: unexport clk_register_gpio_mux() Enrico Weigelt, metux IT consult
2019-11-28 14:44 ` [PATCH 5/7] drivers: clk: unexport clk_gpio_mux_ops field Enrico Weigelt, metux IT consult
2019-11-28 14:44 ` [PATCH 6/7] drivers: clk: unexport clk_gpio_gate_ops field Enrico Weigelt, metux IT consult
2019-11-28 14:44 ` [PATCH 7/7] drivers: clk: unexport clk_hw_register_gpio_mux() Enrico Weigelt, metux IT consult
2020-01-05 20:12 ` [PATCH 1/7] drivers: clk: unexport clk_register_gpio_gate() Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).