Boris Brezillon a02820fca9 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: 2a74930da57f ("mtd: mtdpart: implement proper partition handling")
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Tested-by: Heiko Schocher <hs@denx.de>
2018-12-06 00:45:36 +05:30
..
2018-06-07 17:08:06 -04:00
2018-11-20 13:08:15 +01:00
2017-07-06 16:17:19 -04:00
2018-11-14 09:16:27 -08:00
2018-01-10 08:05:51 -05:00
2017-04-13 09:41:10 -04:00
2018-11-20 13:08:15 +01:00
2017-07-06 16:17:19 -04:00
2017-06-01 07:03:12 -06:00
2017-10-16 09:42:51 -04:00
2018-09-10 20:48:16 -04:00