[PATCH 01/43] mtd: add new API for handling MTD registration
Artem Bityutskiy
dedekind1 at gmail.com
Thu Jun 9 03:20:39 EDT 2011
On Wed, 2011-06-08 at 20:05 +0400, Dmitry Eremin-Solenikov wrote:
> Lots (nearly all) mtd drivers contain nearly the similar code that
> calls parse_mtd_partitions, provides some platform-default values, if
> parsing fails, and registers mtd device.
>
> This is an aim to provide single implementation of this scenario:
> mtd_device_parse_register() which will handle all this parsing and
> defaults.
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> ---
> drivers/mtd/mtdcore.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++
> include/linux/mtd/mtd.h | 5 ++++
> 2 files changed, 65 insertions(+), 0 deletions(-)
I've re-formatted comments - removed no-so-nice-looking tabs, made lines
longer because (my vim can do this). And pushed, thanks!
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list