diff mbox series

[4/4] reset: remove reset_control_get(_optional)

Message ID 1509209409-2698-4-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 13fba8ef50db04c4a0e9722501d46ccb02d3a77c
Headers show
Series [1/4] reset: make device_reset_optional() really optional | expand

Commit Message

Masahiro Yamada Oct. 28, 2017, 4:50 p.m. UTC
No more users of these two.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 include/linux/reset.h | 12 ------------
 1 file changed, 12 deletions(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/include/linux/reset.h b/include/linux/reset.h
index 53e5e78..0aa3d0d 100644
--- a/include/linux/reset.h
+++ b/include/linux/reset.h
@@ -343,18 +343,6 @@  devm_reset_control_get_shared_by_index(struct device *dev, int index)
  * These inline function calls will be removed once all consumers
  * have been moved over to the new explicit API.
  */
-static inline struct reset_control *reset_control_get(
-				struct device *dev, const char *id)
-{
-	return reset_control_get_exclusive(dev, id);
-}
-
-static inline struct reset_control *reset_control_get_optional(
-					struct device *dev, const char *id)
-{
-	return reset_control_get_optional_exclusive(dev, id);
-}
-
 static inline struct reset_control *of_reset_control_get(
 				struct device_node *node, const char *id)
 {