Skip to contentSkip to conversation

clk: Remove comment for end of CONFIG_COMMON_CLK section

PATCH In review Mark Brown 2 participants 2 messages Apr 1, 2012 – Apr 2, 2012 Clk API

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 clk: Remove comment for end of CONFIG_COMMON_CLK section

The comment is inaccurate (it actually ends the CONFIG_COMMON_CLK section, there's no else) and given that we've just got a single level of ifdef isn't really needed anyway.

---
 include/linux/clk.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/clk.h +1 -1
index b025272..c9547d9 100644
@@ -81,7 +81,7 @@ int clk_notifier_register(struct clk *clk, struct notifier_block *nb);
 
 int clk_notifier_unregister(struct clk *clk, struct notifier_block *nb);
 
-#endif /* !CONFIG_COMMON_CLK */
+#endif
 
 /**
  * clk_get - lookup and obtain a reference to a clock producer.
Signature · 1 line
1.7.9.1
#1 lore raw
Quoted 5 lines · Mark Brown

The comment is inaccurate (it actually ends the CONFIG_COMMON_CLK section, there's no else) and given that we've just got a single level of ifdef isn't really needed anyway.

Hi Mark,

I'm happy to take this into my next-clk/fixes branch (which I'll be sending out shortly).

Regards,
Mike

Quoted 20 lines

---
?include/linux/clk.h | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)

include/linux/clk.h +1 -1
index b025272..c9547d9 100644
@@ -81,7 +81,7 @@ int clk_notifier_register(struct clk *clk, struct notifier_block *nb);
 
 ?int clk_notifier_unregister(struct clk *clk, struct notifier_block *nb);
 
-#endif /* !CONFIG_COMMON_CLK */
+#endif
 

?/**
?* clk_get - lookup and obtain a reference to a clock producer. --
1.7.9.1