summaryrefslogtreecommitdiffstats
path: root/include/linux/reset.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-29 01:50:09 +0900
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-11-27 09:16:40 +0100
commit13fba8ef50db04c4a0e9722501d46ccb02d3a77c (patch)
treed9bc44917491d8a03aa8f4ca53138a3b75d22724 /include/linux/reset.h
parentdfc1d9b24719b13164cc4fdc328c0b3e422cac42 (diff)
downloadlinux-13fba8ef50db04c4a0e9722501d46ccb02d3a77c.tar.gz
linux-13fba8ef50db04c4a0e9722501d46ccb02d3a77c.tar.bz2
linux-13fba8ef50db04c4a0e9722501d46ccb02d3a77c.zip
reset: remove reset_control_get(_optional)
No more users of these two. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/linux/reset.h')
-rw-r--r--include/linux/reset.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h
index e5d97ab4359c..09732c36f351 100644
--- a/include/linux/reset.h
+++ b/include/linux/reset.h
@@ -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)
{