reset: make device_reset_optional() really optional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Oct 2017 16:50:06 +0000 (01:50 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Dec 2018 12:05:08 +0000 (13:05 +0100)
commitf109deb22ee0a9bb5aa96b40251d859b3be13de1
treeece82f600ad53cf1fe16e7d53ad875fbececdce4
parentee6e7fba7f45eaa533639ac7489afabb97d2e6ee
reset: make device_reset_optional() really optional

commit 1554bbd4ad401b7f0f916c0891874111c10befe5 upstream.

Commit bb475230b8e5 ("reset: make optional functions really optional")
converted *_get_optional* functions, but device_reset_optional() was
left behind.  Convert it in the same way.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/reset/core.c
include/linux/reset.h