diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-01-02 18:21:15 +0100 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2023-01-26 21:04:40 +0530 |
| commit | 8c8df676095ea05290f3deff1c8449f82e52b6ed (patch) | |
| tree | 061d7efffacd4aa97b6ae191d108c5653814dab9 /include/linux/mtd | |
| parent | fa3b38d4c432745b05e417c750c1c59c347fc18e (diff) | |
cmd: simplify do_spi_flash()
CMD_RET_USAGE == -1. The special handling of this value at the end of
do_spi_flash() does not make any sense.
To avoid future confusion use the CMD_RET_* constants and simplify the
code.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions
