reset: make device_reset_optional() really optional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Oct 2017 16:50:06 +0000 (01:50 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 27 Nov 2017 08:16:39 +0000 (09:16 +0100)
commit1554bbd4ad401b7f0f916c0891874111c10befe5
tree3cedce90a68898d0d9462957ea24eb59bb778ffc
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
reset: make device_reset_optional() really optional

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>
drivers/reset/core.c
include/linux/reset.h