Hi Boris, Boris Brezillon <bbrezillon@xxxxxxxxxx> wrote on Mon, 21 Jan 2019 11:03:24 +0100: > On Thu, 17 Jan 2019 16:29:28 +0100 > Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote: > > > __mtd_del_partition() is a helper that must be called after the > > partition lock has ben taken. As there are already a few similar names > > ^been Will correct it. > > > (mtd_del_partitions(), del_mtd_partitions(), __mtd_del_partitions()), > > make this clear by renaming the helper mtd_del_partition_locked(). > > That's indeed a good step forward, but we still have all those variants > using sightly different names (mtd_<action>() and <action>_mtd()). > Would be great if we could make the names more explicit for those > functions too (or remove those that are unneeded). I truly agree. I actually tried but this is much more time consuming than expected so I will let this change aside for now but I would really like these helpers to be merged. Thanks, Miquèl ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/