cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands
It's way simpler this way, and we also gain auto-completion support for free (MTD name auto-completion has been added with mtd_name_complete()) Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: NTom Rini <trini@konsulko.com>
Showing
想要评论请 注册 或 登录