adc: adc_shell: Fix compile error

Had an extra comma between macro and macro usage that casued the
following compile error:

	adc_shell.c:477:22: error: expected expression before ',' token

Easy fix to remove trailing comma in ADC_SHELL_COMMAND

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-05-06 21:44:05 -05:00 committed by Kumar Gala
commit 99d14e9075

View file

@ -465,7 +465,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(sub_adc_cmds,
);
#define ADC_SHELL_COMMAND(inst) \
SHELL_CMD(ADC_##inst, &sub_adc_cmds, "ADC_" #inst, NULL),
SHELL_CMD(ADC_##inst, &sub_adc_cmds, "ADC_" #inst, NULL)
/*
* TODO generalize with a more flexible for-each macro that doesn't