[PATCH 00/17] mtd: get rid of direct mtd->func use

Artem Bityutskiy dedekind1 at gmail.com
Mon Jan 2 07:20:30 EST 2012


Hi,

this patch-set goes on top of the "MTD API rework" patches which I sent
recently:

http://lists.infradead.org/pipermail/linux-mtd/2011-December/039031.html

This patch-set further removes direct mtd function pointers accesses like:

if (mtd->block_isbad)
	blah

This is a part of the big MTD API re-work we have started. The next steps will
be:

1. Rename all the function pointers to make sure we catch all direct uses:
   (s/mtd->func/mtd->_func/g)
2. Move common input parameters check from implementations to the wrapper
   function to get rid of duplication.

Artem.



More information about the linux-mtd mailing list