diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-28 12:50:09 -0400 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-11-27 03:16:40 -0500 |
commit | 13fba8ef50db04c4a0e9722501d46ccb02d3a77c (patch) | |
tree | d9bc44917491d8a03aa8f4ca53138a3b75d22724 /include/linux/reset.h | |
parent | dfc1d9b24719b13164cc4fdc328c0b3e422cac42 (diff) |
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.h | 12 |
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) | |||
344 | * These inline function calls will be removed once all consumers | 344 | * These inline function calls will be removed once all consumers |
345 | * have been moved over to the new explicit API. | 345 | * have been moved over to the new explicit API. |
346 | */ | 346 | */ |
347 | static inline struct reset_control *reset_control_get( | ||
348 | struct device *dev, const char *id) | ||
349 | { | ||
350 | return reset_control_get_exclusive(dev, id); | ||
351 | } | ||
352 | |||
353 | static inline struct reset_control *reset_control_get_optional( | ||
354 | struct device *dev, const char *id) | ||
355 | { | ||
356 | return reset_control_get_optional_exclusive(dev, id); | ||
357 | } | ||
358 | |||
359 | static inline struct reset_control *of_reset_control_get( | 347 | static inline struct reset_control *of_reset_control_get( |
360 | struct device_node *node, const char *id) | 348 | struct device_node *node, const char *id) |
361 | { | 349 | { |