From: Masahiro Yamada Date: Sat, 28 Oct 2017 16:50:09 +0000 (+0900) Subject: reset: remove reset_control_get(_optional) X-Git-Tag: v4.16-rc1~98^2~14^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13fba8ef50db04c4a0e9722501d46ccb02d3a77c;p=thirdparty%2Fkernel%2Flinux.git reset: remove reset_control_get(_optional) No more users of these two. Signed-off-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- diff --git a/include/linux/reset.h b/include/linux/reset.h index e5d97ab4359cb..09732c36f3515 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) {