]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
reset: remove reset_control_get(_optional)
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Oct 2017 16:50:09 +0000 (01:50 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 27 Nov 2017 08:16:40 +0000 (09:16 +0100)
No more users of these two.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/linux/reset.h

index e5d97ab4359cbd7dda333c009a55fac4ae5cd14d..09732c36f3515a1e497dead9efe1df8297826486 100644 (file)
@@ -344,18 +344,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)
 {