nor: rsl10: fix minor coding style
I use a script to compare the commands in the code with the ones in the documentation. Fix the style of the data to simplify the parsing. Change-Id: I0f1d7e9ff5e2928312ca1a2f3424f82d2910580a Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7960 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
parent
9fcf33da8e
commit
5587710c1a
|
@ -815,7 +815,8 @@ static const struct command_registration rsl10_exec_command_handlers[] = {
|
||||||
.help = "Mass erase all unprotected flash areas",
|
.help = "Mass erase all unprotected flash areas",
|
||||||
.usage = "",
|
.usage = "",
|
||||||
},
|
},
|
||||||
COMMAND_REGISTRATION_DONE};
|
COMMAND_REGISTRATION_DONE
|
||||||
|
};
|
||||||
|
|
||||||
static const struct command_registration rsl10_command_handlers[] = {
|
static const struct command_registration rsl10_command_handlers[] = {
|
||||||
{
|
{
|
||||||
|
@ -825,7 +826,8 @@ static const struct command_registration rsl10_command_handlers[] = {
|
||||||
.usage = "",
|
.usage = "",
|
||||||
.chain = rsl10_exec_command_handlers,
|
.chain = rsl10_exec_command_handlers,
|
||||||
},
|
},
|
||||||
COMMAND_REGISTRATION_DONE};
|
COMMAND_REGISTRATION_DONE
|
||||||
|
};
|
||||||
|
|
||||||
const struct flash_driver rsl10_flash = {
|
const struct flash_driver rsl10_flash = {
|
||||||
.name = "rsl10",
|
.name = "rsl10",
|
||||||
|
|
Loading…
Reference in New Issue