commit | 08263a9ae664b24fa777d20b365601534842b236 | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <rafal@milecki.pl> | Wed Jun 21 08:26:42 2017 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Thu Jun 22 13:13:06 2017 -0700 |
tree | 4c27dcfe0a3e6435da7f76fdc6006e7c7dc799bf | |
parent | 01f9c7240a900d5676a8496496f2974dd36996b1 [diff] |
mtd: partitions: add helper for deleting partition There are two similar functions handling deletion. One handles single partition and another the whole MTD flash device. They share (duplicate) some code so it makes sense to add a small helper for that part. Function del_mtd_partitions has been moved a bit to keep all deleting stuff together. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Brian Norris <computersforpeace@gmail.com>