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:03:40 +0000 (13:03 +0100)
commitb92cee8097d99ec641521975b5fa6eb907ab5361
tree1409ebdeb0fe4b29d425640986b3d96afff3ca2d
parent99bfa7bc16c3b5c4bf06d3885e535060dd5cfeef
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