gpio: shell: Use macro SHELL_CMD_ARG to check parameters count
The args_number and args_no structures could be removed
But other parameter checks we still preserved.
Signed-off-by:
Dennis Ruffer <daruffer@gmail.com>
Loading
Please sign in to comment