[PATCH 08/43] mtd: impa7.c: use mtd_device_parse_register
Artem Bityutskiy
dedekind1 at gmail.com
Thu Jun 9 03:24:22 EDT 2011
On Wed, 2011-06-08 at 20:05 +0400, Dmitry Eremin-Solenikov wrote:
> - mtd_device_register(impa7_mtd[i],
> - mtd_parts[i], mtd_parts_nb[i]);
> + mtd_device_parse_register(impa7_mtd[i], NULL, 0,
> + static_partitions,
> + ARRAY_SIZE(static_partitions));
> }
Compare the alignment - original file is aligned with tabs and then few
spaces (the way I prefer), you use only tabs, which is not consistent
with this driver's style. But I'll amend this myself :-)
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list