Add devm_reset_control_array_get_exclusive_released() which is wanted by NVIDIA Tegra drivers.
Signed-off-by: Dmitry Osipenko digetx@gmail.com --- include/linux/reset.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/include/linux/reset.h b/include/linux/reset.h index 3bee086f1f06..ab240a8648ee 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -534,6 +534,12 @@ devm_reset_control_array_get_optional_shared(struct device *dev) return devm_reset_control_array_get(dev, true, true, true); }
+static inline struct reset_control * +devm_reset_control_array_get_exclusive_released(struct device *dev) +{ + return devm_reset_control_array_get(dev, false, false, false); +} + static inline struct reset_control * of_reset_control_array_get_exclusive(struct device_node *node) {