diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-12-02 10:54:24 +0100 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-12-06 00:45:36 +0530 |
commit | a02820fca90ce9ccf243b3fce59c04dabd5671a8 (patch) | |
tree | 1931d8d998ffd0bea9b4719a64a973a71afb2b1b /drivers/mtd/spi/sf_mtd.c | |
parent | 779c9c0565a44e7dc5f72919d88f67fb7e280880 (diff) |
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>
Diffstat (limited to 'drivers/mtd/spi/sf_mtd.c')
0 files changed, 0 insertions, 0 deletions