From 3096ea0216a564ea82c8d956ed967591c3604f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 4 Jun 2025 23:04:21 +0200 Subject: [PATCH] watchdog: shell: adopt SHELL_HELP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit have wdt shell commands use the new SHELL_HELP macro Signed-off-by: Benjamin Cabé --- drivers/watchdog/wdt_shell.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/watchdog/wdt_shell.c b/drivers/watchdog/wdt_shell.c index f0433205264..57e04cb73a3 100644 --- a/drivers/watchdog/wdt_shell.c +++ b/drivers/watchdog/wdt_shell.c @@ -9,20 +9,16 @@ #include #define WDT_SETUP_HELP \ - "Set up watchdog instance. Syntax:\n" \ - "" + SHELL_HELP("Set up watchdog instance", "") #define WDT_DISABLE_HELP \ - "Disable watchdog instance. Syntax:\n" \ - "" + SHELL_HELP("Disable watchdog instance", "") #define WDT_TIMEOUT_HELP \ - "Install a new timeout. Syntax:\n" \ - " " + SHELL_HELP("Install a new timeout", " ") #define WDT_FEED_HELP \ - "Feed specified watchdog timeout. Syntax:\n" \ - " " + SHELL_HELP("Feed specified watchdog timeout", " ") static const char *const wdt_reset_name[] = { [WDT_FLAG_RESET_NONE] = "none",