reset: remove remaining WARN_ON() in <linux/reset.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Oct 2017 16:50:07 +0000 (01:50 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 27 Nov 2017 08:16:39 +0000 (09:16 +0100)
commitbb6c7768385b200063a14d6615cc1246c3d00760
treea218853f6c83e7407f6dd6aba1111aeb0d692a05
parent1554bbd4ad401b7f0f916c0891874111c10befe5
reset: remove remaining WARN_ON() in <linux/reset.h>

Commit bb475230b8e5 ("reset: make optional functions really optional")
gave a new meaning to _get_optional variants.

The differentiation by WARN_ON() is not needed any more.  We already
have inconsistency about this; (devm_)reset_control_get_exclusive()
has WARN_ON() check, but of_reset_control_get_exclusive() does not.

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