watchdog: rename watchdog_set_timeout() into watchdog_setup()
authorFranck Bui <fbui@suse.com>
Tue, 14 Sep 2021 20:36:14 +0000 (22:36 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 15 Sep 2021 10:14:34 +0000 (12:14 +0200)
commitd74965e6fe583562ebaf0767da6325a72d11643a
tree472f5c5908e5ed86819195b02046b23c11d6ea8d
parent9692ead1978d022754f7da4376e0f225eb823fa8
watchdog: rename watchdog_set_timeout() into watchdog_setup()

"watchdog_set_timeout()" was misleading as the function is not just a setter -
it must be called for activating the watchdog device.
src/core/main.c
src/core/manager.c
src/shared/watchdog.c
src/shared/watchdog.h
src/shutdown/shutdown.c
src/test/test-watchdog.c