summaryrefslogtreecommitdiff
path: root/cmd/adc.c
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-06-19 10:09:44 -0600
committerTom Rini <[email protected]>2024-06-26 13:17:51 -0600
commitb85ecb276bee4ef828852e75e9932638b48042dd (patch)
tree3372664a87f685fd7275d4c68eb2e114dc4bedda /cmd/adc.c
parent4721d1cb8e45795c10fad252fdfc4951fefaeff2 (diff)
cmd: Make use of U_BOOT_LONGHELP when missing
After adding the U_BOOT_LONGHELP macro some new commands came in still that were not making use if it. Switch these cases over and in a few places add missing newlines as well. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd/adc.c')
-rw-r--r--cmd/adc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/adc.c b/cmd/adc.c
index f87f9785a11..4d3b5b61f6f 100644
--- a/cmd/adc.c
+++ b/cmd/adc.c
@@ -152,11 +152,11 @@ static int do_adc_scan(struct cmd_tbl *cmdtp, int flag, int argc,
return CMD_RET_SUCCESS;
}
-static char adc_help_text[] =
+U_BOOT_LONGHELP(adc,
"list - list ADC devices\n"
"adc info <name> - Get ADC device info\n"
"adc single <name> <channel> [varname] - Get Single data of ADC device channel\n"
- "adc scan <name> [channel mask] - Scan all [or masked] ADC channels";
+ "adc scan <name> [channel mask] - Scan all [or masked] ADC channels\n");
U_BOOT_CMD_WITH_SUBCMDS(adc, "ADC sub-system", adc_help_text,
U_BOOT_SUBCMD_MKENT(list, 1, 1, do_adc_list),