mtd: Delete partitions attached to the device when a device is deleted
If we don't do that, partitions might still be exposed while the underlying device is gone. Fixes: 2a74930d ("mtd: mtdpart: implement proper partition handling") Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com> Tested-by: NHeiko Schocher <hs@denx.de>
Showing
想要评论请 注册 或 登录