watchdog: core: use new dev_add_param_tristate helper for .running param
Previous commit added a dev_add_param_tristate_ro that can be readily
used instead of the enum parameter here. Use it.
This also fixes the issue that running_names had external linkage.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 713a601 commit aade8d53cf6cccf7958d2c11e5791dfcd85a584f
@Ahmad Fatoum Ahmad Fatoum authored on 21 Nov 2019
Sascha Hauer committed on 5 Dec 2019
Showing 2 changed files
View
drivers/watchdog/wd_core.c
View
include/watchdog.h