From 5f9d4385f3565cda4163907555d3b47886ff5805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Thu, 5 Jun 2025 23:17:50 +0200 Subject: [PATCH] pm: adopt SHELL_HELP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adopt SHELL_HELP macro for pm_shell Signed-off-by: Benjamin Cabé --- subsys/pm/pm_shell.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subsys/pm/pm_shell.c b/subsys/pm/pm_shell.c index 13559ef1ac2..58df01cf292 100644 --- a/subsys/pm/pm_shell.c +++ b/subsys/pm/pm_shell.c @@ -158,20 +158,20 @@ static int pm_cmd_runtime_put_async(const struct shell *sh, size_t argc, char *a SHELL_STATIC_SUBCMD_SET_CREATE( sub_pm_cmds, SHELL_CMD_ARG(suspend, &dsub_device_name, - "Call the PM suspend action on a device", + SHELL_HELP("Call the PM suspend action on a device", ""), pm_cmd_suspend, 2, 0), SHELL_CMD_ARG(resume, &dsub_device_name, - "Call the PM resume action on a device", + SHELL_HELP("Call the PM resume action on a device", ""), pm_cmd_resume, 2, 0), #if defined(CONFIG_PM_DEVICE_RUNTIME) SHELL_CMD_ARG(runtime-get, &dsub_device_name, - "Call the PM runtime get on a device", + SHELL_HELP("Call the PM runtime get on a device", ""), pm_cmd_runtime_get, 2, 0), SHELL_CMD_ARG(runtime-put, &dsub_device_name, - "Call the PM runtime put on a device", + SHELL_HELP("Call the PM runtime put on a device", ""), pm_cmd_runtime_put, 2, 0), SHELL_CMD_ARG(runtime-put-async, &dsub_device_name, - "Call the PM runtime put async on a device", + SHELL_HELP("Call the PM runtime put async on a device", ""), pm_cmd_runtime_put_async, 2, 0), #endif /* CONFIG_PM_DEVICE_RUNTIME */ SHELL_SUBCMD_SET_END);