From 660d2b3e7a29b30f3df12f977db83d13321b1bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 4 Jun 2025 23:19:29 +0200 Subject: [PATCH] audio: codec: shell: adopt SHELL_HELP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit have audio codec shell commands use the new SHELL_HELP macro Signed-off-by: Benjamin Cabé --- drivers/audio/codec_shell.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/audio/codec_shell.c b/drivers/audio/codec_shell.c index f63d4c90e53..46e7cc2be7e 100644 --- a/drivers/audio/codec_shell.c +++ b/drivers/audio/codec_shell.c @@ -9,20 +9,20 @@ #include #define CODEC_START_HELP \ - "Start output audio playback. Syntax:\n" \ - "" + SHELL_HELP("Start output audio playback", \ + "") #define CODEC_STOP_HELP \ - "Stop output audio playback. Syntax:\n" \ - "" + SHELL_HELP("Stop output audio playback", \ + "") #define CODEC_SET_PROP_HELP \ - "Set a codec property. Syntax:\n" \ - " " + SHELL_HELP("Set a codec property", \ + " ") #define CODEC_APPLY_PROP_HELP \ - "Apply any cached properties. Syntax:\n" \ - "" + SHELL_HELP("Apply any cached properties", \ + "") static const char *const codec_property_name[] = { [AUDIO_PROPERTY_OUTPUT_VOLUME] = "volume",