It was only used as backward compatibility to avoid broken
bisections, until all dependent drivers use the new helper
function.

Signed-off-by: Romain Perier <romain.per...@gmail.com>
---
 include/linux/of.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/linux/of.h b/include/linux/of.h
index e7177b3..229798b 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -912,9 +912,5 @@ extern int of_resolve_phandles(struct device_node *tree);
 
 bool of_is_system_power_controller(const struct device_node *np);
 
-static inline bool of_system_has_poweroff_source(const struct device_node *np)
-{
-       return of_is_system_power_controller(np);
-}
 
 #endif /* _LINUX_OF_H */
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to