[PATCH 0/3] mtd: support cleanup callback for partition parsers
Brian Norris
computersforpeace at gmail.com
Thu Nov 19 22:26:34 EST 2015
Hi,
Currently, we assume that all of the resources used by partition parsers can be
cleaned up with a single kfree(), but that can be burdensome to work around.
This series (particularly, patch 3) supports a cleanup() callback for parsers.
Brian
Brian Norris (3):
mtd: rename MTD parser get/put
mtd: untangle error codes and number of partitions
mtd: support a cleanup callback for partition parsers
drivers/mtd/mtdcore.c | 22 ++++++++++++++++------
drivers/mtd/mtdcore.h | 25 ++++++++++++++++++++++++-
drivers/mtd/mtdpart.c | 19 +++++++++++--------
include/linux/mtd/partitions.h | 1 +
4 files changed, 52 insertions(+), 15 deletions(-)
--
2.6.0.rc2.230.g3dd15c0
More information about the linux-mtd
mailing list